Skip to content

Commit

Permalink
-use dev branch of seal_lake;
Browse files Browse the repository at this point in the history
-updated upload-artifact action to v4
  • Loading branch information
kamchatka-volcano committed Feb 28, 2025
1 parent b3cc1b7 commit 8ca7905
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,21 @@ jobs:
name: "Ubuntu Latest gcc",
os: ubuntu-latest,
cmake-preset: gcc-release,
artifacts-type: "gcc",
artifacts-path: ""
}
- {
name: "Ubuntu Latest clang",
os: ubuntu-latest,
cmake-preset: clang-release,
artifacts-type: "clang",
artifacts-path: ""
}
- {
name: "Windows Latest MSVC",
os: windows-latest,
cmake-preset: msvc-release,
artifacts-type: "msvc",
artifacts-path: "/Release"
}

Expand Down Expand Up @@ -67,9 +70,9 @@ jobs:
run: ctest

- name: Upload build artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: figcone-examples-${{ matrix.config.os }}-nameof-${{ matrix.use_nameof }}
name: figcone-examples-${{ matrix.config.artifact-type }}-nameof-${{ matrix.use_nameof }}
path: |
${{github.workspace}}/build/examples${{ matrix.config.artifacts-path }}
${{github.workspace}}/build/examples_static_refl${{ matrix.config.artifacts-path }}
Expand All @@ -86,12 +89,14 @@ jobs:
- {
name: "Windows",
os: "windows-latest",
artifact-type: "msvc",
lunchtoast_exec: "lunchtoast.exe",
shell_command: -shell="msys2 -c",
}
- {
name: "Linux",
os: "ubuntu-latest",
artifact-type: "gcc",
lunchtoast_exec: "lunchtoast",
shell_command: "",
}
Expand All @@ -114,9 +119,9 @@ jobs:
run: chmod +x lunchtoast
- name: Download figcone examples build
id: pre_launch_tests
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: figcone-examples-${{ matrix.config.os }}-nameof-${{ matrix.use_nameof }}
name: figcone-examples-${{ matrix.config.artifact-type }}-nameof-${{ matrix.use_nameof }}
path: build/
- name: Fix artifacts paths on Windows
if: matrix.config.name == 'Windows'
Expand All @@ -139,7 +144,7 @@ jobs:
run: lunchtoast/lunchtoast functional_tests ${{ matrix.config.shell_command }} -collectFailedTests=failed_tests
- name: Upload failed tests
if: failure() && steps.launch_tests.outcome != 'success' && steps.pre_launch_tests.outcome == 'success'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: figcone-failed-tests-${{ matrix.config.os }}-nameof-${{ matrix.use_nameof }}
path: failed_tests
2 changes: 1 addition & 1 deletion external/seal_lake
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
include(FetchContent)
set(SEAL_LAKE_VERSION v0.2.0)
set(SEAL_LAKE_VERSION dev)
set(FETCHCONTENT_QUIET FALSE)
FetchContent_Declare(seal_lake_${SEAL_LAKE_VERSION}
SOURCE_DIR seal_lake_${SEAL_LAKE_VERSION}
Expand Down

0 comments on commit 8ca7905

Please sign in to comment.