Skip to content

Commit 160124e

Browse files
committed
fix
1 parent e83370f commit 160124e

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ env:
2121

2222
jobs:
2323
test-rewatch:
24-
runs-on: macos-14
24+
runs-on: ubuntu-latest
2525
env:
2626
RUST_BACKTRACE: "1"
2727

@@ -38,12 +38,8 @@ jobs:
3838
id: build-cache
3939
uses: actions/cache@v4
4040
with:
41-
path: rewatch/targed
42-
key: rewatch-build-v2-aarch64-apple-darwin-${{ hashFiles('rewatch/src/**', 'rewatch/Cargo.lock') }}
43-
44-
- name: Install musl gcc
45-
if: steps.build-cache.outputs.cache-hit != 'true' && runner.os == 'Linux'
46-
run: sudo apt-get install -y --no-install-recommends musl-tools
41+
path: rewatch/target
42+
key: rewatch-build-v2-${{ runner.os }}-${{ hashFiles('rewatch/src/**', 'rewatch/Cargo.lock') }}
4743

4844
- name: Install rust toolchain
4945
if: steps.build-cache.outputs.cache-hit != 'true'

rewatch/tests/suite-ci.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,12 @@ fi
1717
bold "Make sure the testrepo is clean"
1818
if git diff --exit-code ../testrepo &> diff.txt;
1919
then
20+
rm diff.txt
2021
success "Testrepo has no changes"
2122
else
2223
error "Testrepo is not clean to start with"
2324
cat diff.txt
25+
rm diff.txt
2426
exit 1
2527
fi
2628

0 commit comments

Comments
 (0)