Skip to content

Commit

Permalink
ci: add julia actions
Browse files Browse the repository at this point in the history
  • Loading branch information
hyoklee committed Mar 12, 2024
1 parent 5ce2c20 commit 369863e
Show file tree
Hide file tree
Showing 3 changed files with 95 additions and 0 deletions.
46 changes: 46 additions & 0 deletions .github/workflows/lin-auto-jl.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: lin auto jl

on:
push:
branches:
- develop

permissions:
contents: read

jobs:
Julia:
name: Julia
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
repository: HDFGroup/hdf5
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
48 changes: 48 additions & 0 deletions .github/workflows/lin-jl.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: lin jl

on:
push:
branches:
- develop

permissions:
contents: read

jobs:
Julia:
name: Julia
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
repository: HDFGroup/hdf5
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
1 change: 1 addition & 0 deletions WATCHME.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
| -----| ------ |
| Off | [![mac-13 CMake OFFs](https://github.com/hyoklee/hdf5/actions/workflows/mac-cmake-offs.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/mac-cmake-offs.yml) |
| Extra | [![linux atutools parallel threadsafe vfds](https://github.com/hyoklee/hdf5/actions/workflows/linux-auto-ts.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/linux-auto-ts.yml) [![linux autotools parallel vfds](https://github.com/hyoklee/hdf5/actions/workflows/linux-auto.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/linux-auto.yml) [![mac autotools parallel](https://github.com/hyoklee/hdf5/actions/workflows/mac-auto.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/mac-auto.yml) |
| Julia | [![lin jl](https://github.com/hyoklee/hdf5/actions/workflows/lin-jl.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/lin-jl.yml) [![lin auto jl](https://github.com/hyoklee/hdf5/actions/workflows/lin-auto-jl.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/lin-auto-jl.yml) |
| Interop. | [![HDF-EOS5](https://img.shields.io/github/actions/workflow/status/HDFGroup/hdf5/hdfeos5.yml?branch=develop&label=HDF-EOS5)](https://github.com/HDFGroup/hdf5/actions?query=branch%3Adevelop) [![netCDF](https://github.com/hyoklee/hdf5/actions/workflows/netcdf.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/netcdf.yml) |
| S3 | [![mac-13 CMake ROS3](https://github.com/hyoklee/hdf5/actions/workflows/mac-cmake-ros3.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/mac-cmake-ros3.yml) |

Expand Down

0 comments on commit 369863e

Please sign in to comment.