Fixing ExaequOS architecture #35
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: Non regression CI | |
on: | |
workflow_dispatch: | |
branches: | |
- master | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
# compilation_msys: | |
# name: Compilation on Msys2 | |
# runs-on: windows-latest | |
# defaults: | |
# run: | |
# shell: msys2 {0} | |
# steps: | |
# - name: Checkout | |
# uses: actions/checkout@v3 | |
# with: | |
# submodules: true | |
# - name: Install Msys2 packages | |
# uses: msys2/setup-msys2@v2 | |
# with: | |
# msystem: MINGW64 | |
# install: mingw-w64-x86_64-gcc mingw-w64-x86_64-bc mingw-w64-x86_64-pkg-config | |
compilation_linux: | |
name: Compilation on Linux | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: Install packages | |
run: | | |
sudo apt-get update | |
sudo apt-get install bc pkg-config lcov | |
- name: Compile Example 00 | |
run: | | |
(cd examples/00 && make -j`nproc --all` && make run) | |
(cd examples/00 && make -j`nproc --all` && ./build/HelloWorld00) | |
- name: Compile Example 01 | |
run: | | |
(cd examples/01 && make -j`nproc --all` && make run) | |
(cd examples/01 && make -j`nproc --all` && ./build/HelloWorld01) | |
- name: Compile Example 02 | |
run: | | |
(cd examples/02 && make -j`nproc --all` && make run) | |
(cd examples/02 && make -j`nproc --all` && ./build/HelloWorld02) | |
compilation_emscripten: | |
name: Compilation on Emscripten | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: Install packages | |
run: | | |
sudo apt-get update | |
sudo apt-get install bc pkg-config lcov | |
- name: Install Emscripten | |
uses: mymindstorm/setup-emsdk@v11 | |
- name: Compile Example 00 | |
run: | | |
(cd examples/00 && emmake make -j`nproc --all` && echo "emmake make run") | |
- name: Compile Example 01 | |
run: | | |
(cd examples/01 && emmake make -j`nproc --all` && echo "emmake make run") | |
- name: Compile Example 02 | |
run: | | |
(cd examples/02 && emmake make -j`nproc --all` && echo "emmake make run") | |
compilation_macos: | |
name: Compilation on MacOS X | |
runs-on: macos-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: Install packages | |
run: | | |
brew install bc pkg-config lcov | |
- name: Compile Example 00 | |
run: | | |
(cd examples/00 && make -j`sysctl -n hw.logicalcpu` && make run) | |
(cd examples/00 && make -j`sysctl -n hw.logicalcpu` && ./build/HelloWorld00) | |
- name: Compile Example 01 | |
run: | | |
(cd examples/01 && make -j`sysctl -n hw.logicalcpu` && make run) | |
(cd examples/01 && make -j`sysctl -n hw.logicalcpu` && ./build/HelloWorld01) | |
- name: Compile Example 02 | |
run: | | |
(cd examples/02 && make -j`sysctl -n hw.logicalcpu` && make run) | |
(cd examples/02 && make -j`sysctl -n hw.logicalcpu` && ./build/HelloWorld02) |