Skip to content

Commit ffaa890

Browse files
ntindleAmarasleios
authored
Use Scons in CI with container (#959)
Use Scons with the container Co-authored-by: Sammy Plat <amaras@vivaldi.net> Co-authored-by: James Schloss <jrs.schloss@gmail.com>
1 parent aa83fec commit ffaa890

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/build.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ on: pull_request
44
jobs:
55
build:
66
runs-on: ubuntu-latest
7+
container:
8+
options: --entrypoint /bin/bash --user 0
9+
image: ghcr.io/algorithm-archivists/aaa-langs:latest
10+
defaults:
11+
run:
12+
shell: bash --rcfile /root/.bashrc -eo pipefail {0}
713
steps:
814
- name: Checkout
915
uses: actions/checkout@v2
@@ -14,3 +20,10 @@ jobs:
1420
run: |
1521
npm install
1622
npx honkit build
23+
24+
- name: Initalize cargo and run SCons
25+
env:
26+
HOME: /root
27+
run: |
28+
. "$HOME/.cargo/env"
29+
scons -Q

0 commit comments

Comments
 (0)