diff --git a/.github/workflows/lin-auto-jl.yml b/.github/workflows/lin-auto-jl.yml new file mode 100644 index 00000000000..4f4e3203f1a --- /dev/null +++ b/.github/workflows/lin-auto-jl.yml @@ -0,0 +1,58 @@ +name: lin auto jl + +on: + workflow_dispatch: + push: + pull_request: + branches: [ hdf5_1_14 ] + paths-ignore: + - '.github/CODEOWNERS' + - '.github/FUNDING.yml' + - 'doc/**' + - 'release_docs/**' + - 'ACKNOWLEDGEMENTS' + - 'COPYING**' + - '**.md' + +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref && github.ref || github.run_id }} + cancel-in-progress: true + +permissions: + contents: read + +jobs: + Julia: + name: Julia + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + path: hdf5 + - name: Install HDF5 + run: | + cd hdf5 + ./autogen.sh + ./configure --prefix=/tmp + make -j + make install + + - uses: julia-actions/setup-julia@latest + with: + version: '1.6' + arch: 'x64' + - uses: actions/checkout@v4 + with: + repository: JuliaIO/HDF5.jl + path: . + + - name: Generate LocalPreferences + run: | + echo '[HDF5]' >> LocalPreferences.toml + echo 'libhdf5 = "/tmp/lib/libhdf5.so"' >> LocalPreferences.toml + echo 'libhdf5_hl = "/tmp/lib/libhdf5_hl.so"' >> LocalPreferences.toml + + - uses: julia-actions/julia-buildpkg@latest + - uses: julia-actions/julia-runtest@latest + env: + JULIA_DEBUG: Main diff --git a/.github/workflows/lin-jl.yml b/.github/workflows/lin-jl.yml new file mode 100644 index 00000000000..a34cfc0f25e --- /dev/null +++ b/.github/workflows/lin-jl.yml @@ -0,0 +1,60 @@ +name: lin jl + +on: + workflow_dispatch: + push: + pull_request: + branches: [ hdf5_1_14 ] + paths-ignore: + - '.github/CODEOWNERS' + - '.github/FUNDING.yml' + - 'doc/**' + - 'release_docs/**' + - 'ACKNOWLEDGEMENTS' + - 'COPYING**' + - '**.md' + +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref && github.ref || github.run_id }} + cancel-in-progress: true + +permissions: + contents: read + +jobs: + Julia: + name: Julia + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + path: hdf5 + - name: Install HDF5 + run: | + cd hdf5 + mkdir build + cd build + cmake -DCMAKE_INSTALL_PREFIX=/tmp .. + make -j + make install + cd .. + + - uses: julia-actions/setup-julia@latest + with: + version: '1.6' + arch: 'x64' + - uses: actions/checkout@v4 + with: + repository: JuliaIO/HDF5.jl + path: . + + - name: Generate LocalPreferences + run: | + echo '[HDF5]' >> LocalPreferences.toml + echo 'libhdf5 = "/tmp/lib/libhdf5.so"' >> LocalPreferences.toml + echo 'libhdf5_hl = "/tmp/lib/libhdf5_hl.so"' >> LocalPreferences.toml + + - uses: julia-actions/julia-buildpkg@latest + - uses: julia-actions/julia-runtest@latest + env: + JULIA_DEBUG: Main