diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2d25ca4d3..3ed45c6c1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -4,6 +4,12 @@ on: pull_request jobs: build: runs-on: ubuntu-latest + container: + options: --entrypoint /bin/bash --user 0 + image: ghcr.io/algorithm-archivists/aaa-langs:latest + defaults: + run: + shell: bash --rcfile /root/.bashrc -eo pipefail {0} steps: - name: Checkout uses: actions/checkout@v2 @@ -14,3 +20,10 @@ jobs: run: | npm install npx honkit build + + - name: Initalize cargo and run SCons + env: + HOME: /root + run: | + . "$HOME/.cargo/env" + scons -Q