Add xfoil example #260
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: client-R-cran-package | |
on: | |
push: | |
pull_request: | |
branches: | |
- 'main' | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
container: ubuntu:latest | |
services: | |
model: | |
image: linusseelinger/benchmark-analytic-banana:latest | |
ports: | |
- 4243:4243 | |
steps: | |
- | |
name: Checkout | |
uses: actions/checkout@v2 | |
- | |
name: APT Dependencies | |
run: | | |
apt update && DEBIAN_FRONTEND="noninteractive" apt install -y r-base libcurl4-gnutls-dev libxml2-dev libfontconfig1-dev libfreetype6 libharfbuzz-dev libfribidi-dev libtiff-dev libssl-dev | |
- | |
name: R Dependencies | |
run: | | |
R -e 'install.packages("umbridge")' | |
- | |
name: Run client | |
run: | | |
cd clients/R && Rscript client.R http://model:4243 |