Skip to content

Commit

Permalink
Update CI config (#95)
Browse files Browse the repository at this point in the history
* Update CI file

* Add new line at the end

* Add new line at the end

* Remove comment
  • Loading branch information
Ao-senXiong authored Jun 1, 2024
1 parent d025f1d commit 8798687
Showing 1 changed file with 5 additions and 15 deletions.
20 changes: 5 additions & 15 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: Gradle Package

on:
push:
branches: [ main-gk ]
branches: [ gradle-build ]

pull_request:
branches: [ main-gk ]
branches: [ gradle-build ]
workflow_dispatch:


Expand All @@ -15,8 +15,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]

os: [ubuntu-latest]

steps:

Expand All @@ -25,29 +24,20 @@ jobs:
with:
submodules: recursive
fetch-depth: 0


- name: Updating Git-submodule
run: |
git submodule update --init --recursive
git submodule foreach --recursive git fetch
git submodule foreach git merge origin master

- name: Set up JDK 1.8
uses: actions/setup-java@v3
with:
java-version: 8
distribution: 'adopt'
distribution: 'temurin'
cache: gradle


- name: Building jpf-symbc with Gradle
run: |
git submodule update --recursive
./gradlew :jpf-core:buildJars
./gradlew :jpf-symbc:buildJar
- name: Testing jpf-symbc with Junit version 4.2
run: |
./gradlew :jpf-symbc:test
./gradlew :jpf-symbc:test

0 comments on commit 8798687

Please sign in to comment.