Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new temp folder in CI #226

Merged
merged 1 commit into from
Nov 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading