Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
mrk-its committed Feb 19, 2024
1 parent 94e989d commit effa526
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/aoc_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ jobs:
arch: [amd64, arm64]

runs-on: ubuntu-latest
# container:
container:
# image: mrkits/rust-mos:1d7989f29-777e89e-2f11e172
# options: --user root --platform ${{ matrix.platform }}
options: --user root

steps:
- name: Set up QEMU
Expand All @@ -60,15 +60,15 @@ jobs:
path: aoc2022/input
token: ${{ secrets.AOC2022_PAT }}

# - name: run_all
# run: |
# pwd
# find .
# chown -R mos.mos aoc2022
# DIR=$(pwd)
# su - mos bash -c "RUST_TARGET_PATH=/usr/local/rust-mos/targets $DIR/aoc2022/run_all.sh"
- name: run_all
run: |
pwd
find .
chown -R 1000.1000 aoc2022
DIR=$(pwd)
su - mos bash -c "RUST_TARGET_PATH=/usr/local/rust-mos/targets $DIR/aoc2022/run_all.sh"
- name: run_all
run: |
docker run --rm -v $(pwd):/workspace -w /workspace --platform linux/${{ matrix.arch }} \
mrkits/rust-mos:1d7989f29-777e89e-2f11e172 /bin/bash --login -c /workspace/run_all.sh
mrkits/rust-mos:1d7989f29-777e89e-2f11e172 /bin/bash --login -c /workspace/aoc2022/run_all.sh

0 comments on commit effa526

Please sign in to comment.