Skip to content

Commit

Permalink
Add inflator container smoke test to build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
DasSkelett committed Sep 30, 2021
1 parent 29feea1 commit 3ee130a
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,17 @@ jobs:
run: ./build --configuration=${{ matrix.configuration}}
- name: Run tests
run: xvfb-run ./build test+only --configuration=${{ matrix.configuration }} --where="Category!=FlakyNetwork"
- name: Run inflator container smoke test
run: |
cd _build
curl -fsSL https://get.docker.com -o get-docker.sh
sh get-docker.sh
docker build --tag inflator --file ../Dockerfile.netkan .
docker run --rm --name inflator --entrypoint /bin/bash inflator -c "
curl -O https://raw.githubusercontent.com/KSP-CKAN/NetKAN/master/NetKAN/ZeroMiniAVC.netkan && \
mono netkan.exe ZeroMiniAVC.netkan
"
if: matrix.configuration == 'release' && contains(['6.8', 'latest'], matrix.mono)

- name: Upload ckan.exe artifact
uses: actions/upload-artifact@v2
Expand Down

0 comments on commit 3ee130a

Please sign in to comment.