Skip to content

Commit

Permalink
Merge pull request #41 from hgb-bin-proteomics/crossplatform
Browse files Browse the repository at this point in the history
Add macos binaries and tests
  • Loading branch information
michabirklbauer authored Apr 15, 2024
2 parents aa41476 + 21232f0 commit 0323ef8
Show file tree
Hide file tree
Showing 10 changed files with 872 additions and 1 deletion.
35 changes: 35 additions & 0 deletions .github/workflows/test-linux.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Test for generic Linux

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
Test-for-Linux:
runs-on: ubuntu-22.04
container: debian:bookworm
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Install dependencies
run: |
apt-get update && apt-get install -y curl \
g++ \
libc6 \
libgcc-s1 \
libgssapi-krb5-2 \
libicu72 \
libssl3 \
libstdc++6 \
zlib1g
- name: Install NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: '6'
- name: Test
run: |
cd DataLoaderExecutable/linux_x64/uncompressed
chmod +x DataLoader
./DataLoader EigenSIntB 10000
23 changes: 23 additions & 0 deletions .github/workflows/test-macos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Test for macOS

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
Test-for-macOS:
runs-on: macos-14
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Install NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: '6'
- name: Test
run: |
cd DataLoaderExecutable/macos_arm/uncompressed
chmod +x DataLoader
./DataLoader EigenSIntB 10000
26 changes: 26 additions & 0 deletions .github/workflows/test-ubuntu.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Test for Ubuntu 22.04

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
Test-for-Ubuntu:
runs-on: ubuntu-22.04
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Install NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: '6'
- name: Install dependencies
run: |
sudo apt-get update && sudo apt-get install -y g++
- name: Test
run: |
cd DataLoaderExecutable/ubuntu22.04_x64/uncompressed
chmod +x DataLoader
./DataLoader EigenSIntB 10000
22 changes: 22 additions & 0 deletions .github/workflows/test-windows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Test for Windows

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
Test-for-Windows:
runs-on: windows-2022
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Install NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: '6'
- name: Test
run: |
cd DataLoaderExecutable/windows_x64/uncompressed
./DataLoader EigenSIntB 10000
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit 0323ef8

Please sign in to comment.