diff --git a/.github/workflows/asan.yml b/.github/workflows/asan.yml index 36a783f..fece1dd 100644 --- a/.github/workflows/asan.yml +++ b/.github/workflows/asan.yml @@ -9,7 +9,7 @@ jobs: CC: gcc steps: - uses: actions/checkout@v3 - - run: sudo apt install -y make gcc + - run: sudo apt-get update && sudo apt install -y make gcc - run: gcc --version - run: make CFLAGS="-g -fno-omit-frame-pointer -fsanitize=address" LDFLAGS="-fsanitize=address" # if timeouts (return code 124), consider it a success diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 368e2d7..98258ad 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,7 +11,7 @@ jobs: steps: - uses: actions/checkout@v3 - name: Build - run: sudo apt-get install gcc-multilib g++-multilib && make -j + run: sudo apt-get update && sudo apt-get install gcc-multilib g++-multilib && make -j macos: runs-on: macos-latest @@ -27,7 +27,7 @@ jobs: steps: - uses: actions/checkout@v3 - name: Build - run: sudo apt-get install gcc-multilib g++-multilib && make -j + run: sudo apt-get update && sudo apt-get install gcc-multilib g++-multilib && make -j # this is too flakey in github actions #- name: Run tests # run: python3 test.py