Skip to content

Commit

Permalink
Update linux.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ste93ste authored Dec 30, 2024
1 parent f2a99f2 commit 00dd614
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:

jobs:
build:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
container: quay.io/pypa/manylinux_2_28_x86_64
if: ${{ startsWith(github.ref, 'refs/tags') || !contains(github.event.head_commit.message, '[skip ci]') }}

Expand All @@ -30,7 +30,9 @@ jobs:
- name: Download gcc 10 compilers
run: |
yum install -y gcc-toolset-10
source /opt/rh/gcc-toolset-10/enable
gcc --version
g++ --version
# - name: Install CMake and Zlib
# run: |
# yum install -y cmake3 zlib-devel
Expand All @@ -39,8 +41,9 @@ jobs:
- name: Build ITK
run: |
#export CC=/opt/rh/devtoolset-10/root/usr/bin/gcc
#export CXX=/opt/rh/devtoolset-10/root/usr/bin/g++
source /opt/rh/gcc-toolset-10/enable
export CC=/opt/rh/gcc-toolset-10/root/usr/bin/gcc
export CXX=/opt/rh/gcc-toolset-10/root/usr/bin/g++
mkdir ITK-build
cd ITK-build
Expand All @@ -57,8 +60,9 @@ jobs:
- name: Build samseg and run tests
run: |
#export CC=/opt/rh/devtoolset-10/root/usr/bin/gcc
#export CXX=/opt/rh/devtoolset-10/root/usr/bin/g++
source /opt/rh/gcc-toolset-10/enable
export CC=/opt/rh/gcc-toolset-10/root/usr/bin/gcc
export CXX=/opt/rh/gcc-toolset-10/root/usr/bin/g++
.github/workflows/linux_build.sh /opt/python/cp38-cp38/bin/python
.github/workflows/linux_build.sh /opt/python/cp39-cp39/bin/python
Expand Down

0 comments on commit 00dd614

Please sign in to comment.