Skip to content

Commit 4d7fcc3

Browse files
authored
ci: fix broken apt install (#31)
1 parent 04235f7 commit 4d7fcc3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/asan.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
CC: gcc
1010
steps:
1111
- uses: actions/checkout@v3
12-
- run: sudo apt install -y make gcc
12+
- run: sudo apt-get update && sudo apt install -y make gcc
1313
- run: gcc --version
1414
- run: make CFLAGS="-g -fno-omit-frame-pointer -fsanitize=address" LDFLAGS="-fsanitize=address"
1515
# if timeouts (return code 124), consider it a success

.github/workflows/build.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
steps:
1212
- uses: actions/checkout@v3
1313
- name: Build
14-
run: sudo apt-get install gcc-multilib g++-multilib && make -j
14+
run: sudo apt-get update && sudo apt-get install gcc-multilib g++-multilib && make -j
1515

1616
macos:
1717
runs-on: macos-latest
@@ -27,7 +27,7 @@ jobs:
2727
steps:
2828
- uses: actions/checkout@v3
2929
- name: Build
30-
run: sudo apt-get install gcc-multilib g++-multilib && make -j
30+
run: sudo apt-get update && sudo apt-get install gcc-multilib g++-multilib && make -j
3131
# this is too flakey in github actions
3232
#- name: Run tests
3333
# run: python3 test.py

0 commit comments

Comments
 (0)