Page allocator tests #1011
Workflow file for this run
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: "Build" | |
on: [push, pull_request] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
runs-on: ${{matrix.os}} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build and test | |
run: | | |
set -eo pipefail | |
export TIMESTAMP=$(date +%s) | |
docker build -f Dockerfile . -t eclair:$TIMESTAMP | tee eclair-lang-${{matrix.os}}.log | |
docker run --rm eclair:$TIMESTAMP bash -c "make test" | tee -a eclair-lang-${{matrix.os}}.log | |
- name: Check for disabled tests | |
run: | | |
./tests/check.sh | |
- name: Upload logs | |
if: ${{ always() }} | |
uses: actions/upload-artifact@v2 | |
with: | |
name: eclair-lang-${{matrix.os}}.log | |
path: eclair-lang-${{matrix.os}}.log |