Skip to content

Commit

Permalink
Fix github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurSonzogni committed Mar 20, 2021
1 parent b430bc5 commit 77fd21e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/continuous-integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,20 +58,24 @@ jobs:
- name: Build
run: >
mkdir build;
cd build;
${{ matrix.config.cmake }}
..
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_C_COMPILER=${{ matrix.config.cc }}
-DCMAKE_CXX_COMPILER=${{ matrix.config.cxx }};
make
cmake --build . --config Release
- name: Tests
if: ${{ matrix.config.cc != 'emcc' }}
run: >
cd build;
./input_output_test
- name: Make webAssembly distribution
if: ${{ matrix.config.cc == 'emcc' }}
run: >
cd build;
mkdir -p distribution;
cp diagon.js distribution;
cp diagon.wasm distribution;
Expand All @@ -85,4 +89,4 @@ jobs:
uses: actions/upload-artifact@v2
with:
name: distribution
path: distribution
path: build/distribution

0 comments on commit 77fd21e

Please sign in to comment.