Skip to content

Commit

Permalink
new temps folder in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelchassot committed Nov 5, 2024
1 parent 7fdb944 commit f7bde1d
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/inox-CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ jobs:
runs-on: [self-hosted, linux]
env:
# define Java options for both official sbt and sbt-extras
JAVA_OPTS: -Xss64M -Xms1024M -Xmx8G
JVM_OPTS: -Xss64M -Xms1024M -Xmx8G
JAVA_OPTS_TMP_DIR: ./tmp_java
JAVA_OPTS: -Xss64M -Xms1024M -Xmx8G -Djava.io.tmpdir=$JAVA_OPTS_TMP_DIR
JVM_OPTS: -Xss64M -Xms1024M -Xmx8G -Djava.io.tmpdir=$JAVA_OPTS_TMP_DIR
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -27,6 +28,8 @@ jobs:
wget https://github.com/sbt/sbt/releases/download/v1.10.1/sbt-1.10.1.tgz
tar xfz sbt-1.10.1.tgz
echo "PATH=./sbt/bin/:$PATH" >> "$GITHUB_ENV"
- name: Prepare temp folder
run: rm -rf $JAVA_OPTS_TMP_DIR && mkdir -p $JAVA_OPTS_TMP_DIR
- name: Install solvers
run: ./install_solvers.sh $GITHUB_WORKSPACE/.local/bin
- name: Add solvers to PATH
Expand All @@ -37,6 +40,8 @@ jobs:
run: sbt -Dtest-parallelism=10 -batch test
- name: Run integration tests
run: sbt -Dtest-parallelism=10 -batch it:test
- name: Clean up
run: rm -rf $JAVA_OPTS_TMP_DIR
fail_if_pull_request_is_draft:
if: github.event.pull_request.draft == true
runs-on: [self-hosted, linux]
Expand Down

0 comments on commit f7bde1d

Please sign in to comment.