Getting the build to run on a Raspberry Pi #1604
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: Tests | |
on: | |
push: | |
branches: | |
- "**" | |
pull_request: | |
branches: | |
- "**" | |
jobs: | |
test: | |
name: Ubuntu CI | |
runs-on: ubuntu-latest | |
container: keenon/diffdart:test_base | |
env: | |
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true | |
steps: | |
- name: Set up Node Version 16 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
- name: Check out the repo | |
uses: actions/checkout@v2 | |
- name: Build | |
run: mkdir build && | |
cd build && | |
cmake .. -DCMAKE_BUILD_TYPE=Release && | |
make tests -j2 | |
- name: Run tests | |
run: cd build && | |
ctest -T Test | |
timeout-minutes: 15 |