Skip to content

Commit

Permalink
Simplify GitHub Actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
hunyadi committed Dec 4, 2024
1 parent fbb5707 commit 18c3d58
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,10 @@ jobs:
with:
distribution: 'zulu'
java-version: '17'
- name: Set up build environment
run: |
cmake -E make_directory ${{github.workspace}}/build
- name: Compile C++ sources
working-directory: ${{github.workspace}}/build
run: |
cmake .. && make
cmake -B build && cmake --build build
- name: Compile and run Java sources
working-directory: ${{github.workspace}}
run: |
./launch.sh
Expand All @@ -49,13 +44,9 @@ jobs:
with:
distribution: 'zulu'
java-version: '17'
- name: Set up build environment
run: |
cmake -E make_directory ${{github.workspace}}/build
- name: Compile C++ sources
working-directory: ${{github.workspace}}/build
run: |
cmake .. && msbuild javabind.sln
cmake -B build && cmake --build build
- name: Compile and run Java sources
working-directory: ${{github.workspace}}
run: |
Expand Down

0 comments on commit 18c3d58

Please sign in to comment.