add a gitaction for nightly build #1032
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: NetLRTS Linux i386 | |
on: [pull_request, merge_group] | |
jobs: | |
build: | |
timeout-minutes: 60 | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: install-prerequisites | |
run: | | |
sudo dpkg --add-architecture i386 | |
sudo apt-get update | |
sudo apt-get install -y gcc-multilib g++-multilib gfortran-multilib zlib1g-dev:i386 libjpeg-dev:i386 | |
- name: build | |
run: ./build all-test netlrts-linux-i386 --build-shared --with-production --enable-error-checking --enable-lbuserdata -j3 -g -Werror=vla | |
# TODO: this should build tests with "-charm-shared". See #2735 on why this is not done currently. | |
- name: test | |
run: make -C netlrts-linux-i386/tmp test TESTOPTS="++local" | |
- name: testp | |
run: make -C netlrts-linux-i386/tmp testp P=2 TESTOPTS="++local" |