Skip to content

Commit

Permalink
ci: add IBM XL C/C++ CI build
Browse files Browse the repository at this point in the history
  • Loading branch information
nemequ committed Sep 13, 2024
1 parent 301c2c0 commit 6c506d1
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -178,3 +178,26 @@ jobs:
CC: ../ti-compiler/compiler/bin/${{ matrix.compiler }}
working-directory: test
run: make

xlc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: uraimo/run-on-arch-action@v2
name: Run commands
id: runcmd
with:
arch:
distro: ubuntu_latest
install: |
wget -q http://public.dhe.ibm.com/software/server/POWER/Linux/xl-compiler/eval/ppc64le/ubuntu/public.gpg -O- | sudo apt-key add -
echo "deb http://public.dhe.ibm.com/software/server/POWER/Linux/xl-compiler/eval/ppc64le/ubuntu/ trusty main" | sudo tee /etc/apt/sources.list.d/ibm-xl-compiler-eval.list
sudo apt-get update
sudo apt-get install xlc.16.1.1
sudo /opt/ibm/xlC/16.1.1/bin/xlc_configure
env: |
CC: xlc
CXX: xlc++
run: |
cd test
make

0 comments on commit 6c506d1

Please sign in to comment.