Skip to content

Commit

Permalink
Enable parallel test and fix missing include in C code.
Browse files Browse the repository at this point in the history
  • Loading branch information
cianciosa committed Nov 20, 2023
1 parent c0727d8 commit 72bc31b
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 4 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/ci_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,16 @@ jobs:
shell: bash
working-directory: ${{runner.workspace}}/Stellarator-Tools/build
run: make -j VERBOSE=1
- name: Test
- name: Test Mac
if: ${{matrix.os == 'macos-latest'}}
shell: bash
working-directory: ${{runner.workspace}}/Stellarator-Tools/build
run: make test ARGS=-j3
- name: Test Linux
if: ${{matrix.os == 'ubuntu-latest'}}
shell: bash
working-directory: ${{runner.workspace}}/Stellarator-Tools/build
run: make test
run: make test ARGS=-j2
- name: Show Log
if: failure()
shell: bash
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/ci_test_master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,16 @@ jobs:
shell: bash
working-directory: ${{runner.workspace}}/Stellarator-Tools/build
run: make -j VERBOSE=1
- name: Test
- name: Test Mac
if: ${{matrix.os == 'macos-latest'}}
shell: bash
working-directory: ${{runner.workspace}}/Stellarator-Tools/build
run: make test ARGS=-j3
- name: Test Linux
if: ${{matrix.os == 'ubuntu-latest'}}
shell: bash
working-directory: ${{runner.workspace}}/Stellarator-Tools/build
run: make test
run: make test ARGS=-j2
- name: Show Log
if: failure()
shell: bash
Expand Down
1 change: 1 addition & 0 deletions Sources/C/copy_file.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#include <fcntl.h>
#include <sys/sendfile.h>
#include <sys/stat.h>
#include <unistd.h>

/// Flag to copy the enture file.
#define COPYFILE_ALL 0
Expand Down

0 comments on commit 72bc31b

Please sign in to comment.