forked from HDFGroup/hdf5
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
close #173
- Loading branch information
Showing
5 changed files
with
202 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
name: arm64 fbsd f j | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
test: | ||
name: ${{ matrix.os.name }} ${{ matrix.os.architecture }} ${{ matrix.os.version }} on ${{ matrix.os.host }} | ||
runs-on: ${{ matrix.os.host }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: | ||
- name: freebsd | ||
architecture: arm64 | ||
version: '14.0' | ||
host: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
|
||
- name: ${{ matrix.os.name }} | ||
uses: cross-platform-actions/[email protected] | ||
env: | ||
FOO: A | ||
BAR: B | ||
with: | ||
environment_variables: FOO BAR | ||
operating_system: ${{ matrix.os.name }} | ||
architecture: ${{ matrix.os.architecture }} | ||
version: '${{ matrix.os.version }}' | ||
shell: bash | ||
run: | | ||
sudo pkg install -y git | ||
sudo pkg install -y cmake | ||
sudo pkg install -y jpeg-turbo | ||
sudo pkg install -y openjdk21 | ||
sudo pkg install -y gcc13 | ||
pkg info -l openjdk21 | ||
export JAVA_HOME=/usr/local/openjdk21 | ||
export FC=gfortran13 | ||
sudo mount -t fdescfs fdesc /dev/fd | ||
sudo mount -t procfs proc /proc | ||
mkdir build | ||
cd build | ||
cmake \ | ||
-DBUILDNAME:STRING=f.j \ | ||
-DHDF5_BUILD_FORTRAN:BOOL=ON \ | ||
-DHDF5_BUILD_JAVA:BOOL=ON \ | ||
-DCTEST_DROP_SITE_INIT:STRING="my.cdash.org" \ | ||
-DSITE:STRING=fbsd.arm64 .. | ||
ctest -D Experimental |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
name: fbsd f j | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
test: # make sure the action works on a clean machine without building | ||
name: ${{ matrix.os.name }} ${{ matrix.os.architecture }} ${{ matrix.os.version }} on ${{ matrix.os.host }} | ||
runs-on: ${{ matrix.os.host }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: | ||
- name: freebsd | ||
architecture: x86-64 | ||
version: '14.0' | ||
host: ubuntu-latest | ||
steps: | ||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
|
||
- name: ${{ matrix.os.name }} | ||
uses: cross-platform-actions/[email protected] | ||
env: | ||
FOO: A | ||
BAR: B | ||
with: | ||
environment_variables: FOO BAR | ||
operating_system: ${{ matrix.os.name }} | ||
architecture: ${{ matrix.os.architecture }} | ||
version: '${{ matrix.os.version }}' | ||
shell: bash | ||
run: | | ||
sudo pkg install -y git | ||
sudo pkg install -y cmake | ||
sudo pkg install -y jpeg-turbo | ||
sudo pkg install -y openjdk21 | ||
sudo pkg install -y gcc13 | ||
pkg info -l openjdk21 | ||
export JAVA_HOME=/usr/local/openjdk21 | ||
export FC=gfortran13 | ||
sudo mount -t fdescfs fdesc /dev/fd | ||
sudo mount -t procfs proc /proc | ||
mkdir build | ||
cd build | ||
cmake \ | ||
-DBUILDNAME:STRING=lf.j \ | ||
-D HDF5_BUILD_FORTRAN:BOOL=ON \ | ||
-D HDF5_BUILD_JAVA:BOOL=ON \ | ||
-D CTEST_DROP_SITE_INIT:STRING="my.cdash.org" \ | ||
-D SITE:STRING=fbsd .. | ||
ctest -D Experimental |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
name: fbsd lf j | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
test: # make sure the action works on a clean machine without building | ||
name: ${{ matrix.os.name }} ${{ matrix.os.architecture }} ${{ matrix.os.version }} on ${{ matrix.os.host }} | ||
runs-on: ${{ matrix.os.host }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: | ||
- name: freebsd | ||
architecture: x86-64 | ||
version: '14.0' | ||
host: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
|
||
- name: ${{ matrix.os.name }} | ||
uses: cross-platform-actions/[email protected] | ||
env: | ||
FOO: A | ||
BAR: B | ||
with: | ||
environment_variables: FOO BAR | ||
operating_system: ${{ matrix.os.name }} | ||
architecture: ${{ matrix.os.architecture }} | ||
version: '${{ matrix.os.version }}' | ||
shell: bash | ||
run: | | ||
sudo pkg install -y git | ||
sudo pkg install -y cmake | ||
sudo pkg install -y jpeg-turbo | ||
sudo pkg install -y openjdk21 | ||
sudo pkg install -y lfortran | ||
export FC=lfortran | ||
export FFLAGS="--backend=llvm" | ||
pkg info -l openjdk21 | ||
export JAVA_HOME=/usr/local/openjdk21 | ||
sudo mount -t fdescfs fdesc /dev/fd | ||
sudo mount -t procfs proc /proc | ||
git clone https://github.com/HDFGroup/hdf4 | ||
cd hdf4 | ||
mkdir build | ||
cd build | ||
cmake \ | ||
-DBUILDNAME:STRING=lf.j \ | ||
-DBUILD_SHARED_LIBS:BOOL=OFF \ | ||
-DCMAKE_Fortran_FLAGS="--backend=llvm -fPIC" \ | ||
-DHDF5_BUILD_FORTRAN:BOOL=ON \ | ||
-DHDF5_BUILD_JAVA:BOOL=ON \ | ||
-DCTEST_DROP_SITE_INIT:STRING="my.cdash.org" \ | ||
-DSITE:STRING=fbsd .. | ||
ctest -D Experimental |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: fbsd | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
test: # make sure the action works on a clean machine without building | ||
name: ${{ matrix.os.name }} ${{ matrix.os.architecture }} ${{ matrix.os.version }} on ${{ matrix.os.host }} | ||
runs-on: ${{ matrix.os.host }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: | ||
- name: freebsd | ||
architecture: x86-64 | ||
version: '14.0' | ||
host: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
|
||
- name: ${{ matrix.os.name }} | ||
uses: cross-platform-actions/[email protected] | ||
env: | ||
FOO: A | ||
BAR: B | ||
with: | ||
environment_variables: FOO BAR | ||
operating_system: ${{ matrix.os.name }} | ||
architecture: ${{ matrix.os.architecture }} | ||
version: '${{ matrix.os.version }}' | ||
shell: bash | ||
run: | | ||
sudo pkg install -y git | ||
sudo pkg install -y cmake | ||
mkdir build | ||
cd build | ||
cmake \ | ||
-D CTEST_DROP_SITE_INIT:STRING="my.cdash.org" \ | ||
-D SITE:STRING=fbsd .. | ||
ctest -D Experimental |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters