Add wasm build instructions and fdtd3dbench target with predefined co… #91
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: CI-build | |
on: | |
pull_request: | |
branches: [ "master" ] | |
push: | |
branches: | |
- master | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
if: ${{ github.event_name != 'pull_request' || (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'notest') != true) }} | |
strategy: | |
fail-fast: false | |
matrix: | |
build_mode: [Release, RelWithDebInfo, Debug] | |
cxx11: [ON, OFF] | |
complex_values: [ON, OFF] | |
print_message: [ON, OFF] | |
used_values: [f, d, ld] | |
runs-on: ubuntu-latest | |
name: Build x64 ubuntu 22.04 BUILD_MODE=${{ matrix.build_mode }}, CXX11=${{ matrix.cxx11 }}, COMPLEX_VALUES=${{ matrix.complex_values }}, PRINT_MESSAGE=${{ matrix.print_message }}, USED_VALUES=${{ matrix.used_values }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Ubuntu | |
run: | | |
sudo apt install openmpi-bin openmpi-common libopenmpi-dev | |
- name: Build | |
run: | | |
./Tools/test-build.sh ${GITHUB_WORKSPACE} ${GITHUB_WORKSPACE}/Build "gcc,g++" ${{ matrix.build_mode }} ${{ matrix.cxx11 }} ${{ matrix.complex_values }} ${{ matrix.print_message }} ${{ matrix.used_values }} "OFF,1,x ON,1,x ON,2,x ON,2,y ON,2,xy ON,3,x ON,3,y ON,3,z ON,3,xy ON,3,yz ON,3,xz ON,3,xyz" "OFF,sm" "ALL" "" |