Skip to content

Commit 0b36679

Browse files
authored
Create casr.yml
1 parent 99f6cc0 commit 0b36679

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

.github/workflows/casr.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Run CASR
2+
on:
3+
push:
4+
5+
jobs:
6+
run-casr:
7+
runs-on: ubuntu-20.04
8+
strategy:
9+
matrix:
10+
java: [ '11' ]
11+
name: Java ${{ matrix.java }} Run CASR
12+
13+
steps:
14+
- name: Checkout Code
15+
uses: actions/checkout@v4
16+
with:
17+
ref: 2707b191c8b829e6bed41cd1ec7bcc9125e02af5
18+
- name: Set up JDK ${{ matrix.java }}
19+
uses: actions/setup-java@v3
20+
with:
21+
distribution: 'temurin'
22+
java-version: ${{ matrix.java }}
23+
- name: Install rust and dependencies
24+
run: |
25+
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
26+
sudo apt install gdb lsb-release
27+
- name: Install casr
28+
run: |
29+
cargo install casr
30+
- name: Compile using gradle
31+
run: |
32+
./gradlew clean build -x test
33+
- name: Run CASR
34+
run: |
35+
find . -name '*.jar' -exec sh -c 'echo "Processing {}" && timeout 200s casr-java -o {}.casrep -- java -jar {}' \;

0 commit comments

Comments
 (0)