Skip to content

Commit

Permalink
Build dotnet with GitHub Actions
Browse files Browse the repository at this point in the history
Signed-off-by: Ilya Leoshkevich <[email protected]>
  • Loading branch information
iii-i committed Apr 9, 2024
1 parent c1b1a5b commit cff9446
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Build dotnet

on:
push:
branches:
- main
pull_request: # XXX

jobs:
runtime:
runs-on: ubuntu-latest
strategy:
matrix:
arch: [ppc64le, s390x, x64]
steps:
- uses: actions/checkout@v4
- name: Configure git
run: git config --global user.email [email protected] &&
git config --global user.name "dotnet-s390x bot"
- name: Prepare
container:
image: ghcr.io/ibm/dotnet-${{ matrix.arch }}-toolchain:latest
credentials:
username: ${{ secrets.GHCR_USERNAME }}
password: ${{ secrets.GHCR_PASSWORD }}
run: cd dotnet-s390x && ./dotnet-prepare runtime
- name: Build
container:
image: ghcr.io/ibm/dotnet-${{ matrix.arch }}-toolchain:latest
credentials:
username: ${{ secrets.GHCR_USERNAME }}
password: ${{ secrets.GHCR_PASSWORD }}
run: cd dotnet-s390x && ARCH=${{ matrix.arch }} ./dotnet-build runtime

0 comments on commit cff9446

Please sign in to comment.