diff --git a/.github/workflows/ci-linux.yml b/.github/workflows/ci-linux.yml index d2b754f..5b83a4e 100644 --- a/.github/workflows/ci-linux.yml +++ b/.github/workflows/ci-linux.yml @@ -118,9 +118,11 @@ jobs: - name: test (pytest) run: pytest -v - - uses: actions/upload-artifact@v1 + - name: 'Upload error log' + uses: actions/upload-artifact@v4 if: failure() with: name: ${{matrix.container}}_testlog - path: builddir/meson-logs/testlog.txt + path: builddir/meson-logs/meson-log.txt + retention-days: 5 diff --git a/.github/workflows/ci-mac.yml b/.github/workflows/ci-mac.yml index 92f9de8..12897b1 100644 --- a/.github/workflows/ci-mac.yml +++ b/.github/workflows/ci-mac.yml @@ -105,8 +105,10 @@ jobs: - name: test (pytest) run: pytest -v - - uses: actions/upload-artifact@v1 + - name: 'Upload error log' + uses: actions/upload-artifact@v4 if: failure() with: name: ${{matrix.container}}_testlog - path: builddir/meson-logs/testlog.txt + path: builddir/meson-logs/meson-log.txt + retention-days: 5 diff --git a/.github/workflows/ci-windows.yml b/.github/workflows/ci-windows.yml index e379861..fe80d8c 100644 --- a/.github/workflows/ci-windows.yml +++ b/.github/workflows/ci-windows.yml @@ -161,8 +161,10 @@ jobs: - name: test (pytest) run: pytest -v - - uses: actions/upload-artifact@v1 + - name: 'Upload error log' + uses: actions/upload-artifact@v4 if: failure() with: - name: Windows_Meson_testlog - path: builddir/meson-logs/testlog.txt + name: windows_Meson_testlog + path: builddir/meson-logs/meson-log.txt + retention-days: 5 diff --git a/meson.build b/meson.build index f2faca0..90bbb48 100644 --- a/meson.build +++ b/meson.build @@ -28,7 +28,7 @@ elif meson.get_compiler('cpp').get_id() == 'clang' # compile_args : ['-fopenmp'], # dependencies : [libomp] # ) - omp_dep = dependency('openmp') + omp_dep = declare_dependency() else omp_dep = dependency('openmp') endif