Skip to content

Commit

Permalink
Add Install Package step to XMake CI jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
braxtons12 committed Feb 29, 2024
1 parent b2eaf3c commit 62472aa
Showing 1 changed file with 55 additions and 0 deletions.
55 changes: 55 additions & 0 deletions .github/workflows/xmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,21 @@ jobs:
working-directory: ${{github.workspace}}
run: xmake test

- name: Extract branch name
shell: bash
run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT
id: extract_branch

- name: Install Package
env:
CC: gcc-13
CXX: gcc-13
ACTIONS_STEP_DEBUG: true
run: |
xrepo add-repo -y hyperion "https://github.com/braxtons12/hyperion_packages.git"
xrepo update-repo -y
xrepo install -y --toolchain=envs "hyperion_mpl ${{ steps.extract_branch.outputs.branch }}"
build-linux-clang-16-x64:
runs-on: ubuntu-latest
strategy:
Expand Down Expand Up @@ -91,6 +106,21 @@ jobs:
working-directory: ${{github.workspace}}
run: xmake test

- name: Extract branch name
shell: bash
run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT
id: extract_branch

- name: Install Package
env:
CC: clang-16
CXX: clang-16
ACTIONS_STEP_DEBUG: true
run: |
xrepo add-repo -y hyperion "https://github.com/braxtons12/hyperion_packages.git"
xrepo update-repo -y
xrepo install -y --toolchain=envs "hyperion_mpl ${{ steps.extract_branch.outputs.branch }}"
build-windows-msvc-x64:
runs-on: windows-latest
strategy:
Expand Down Expand Up @@ -131,6 +161,19 @@ jobs:
working-directory: ${{github.workspace}}
run: xmake test

- name: Extract branch name
shell: bash
run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT
id: extract_branch

- name: Install Package
env:
ACTIONS_STEP_DEBUG: true
run: |
xrepo add-repo -y hyperion "https://github.com/braxtons12/hyperion_packages.git"
xrepo update-repo -y
xrepo install -y --toolchain=msvc "hyperion_mpl ${{ steps.extract_branch.outputs.branch }}"
build-macos-xcode-x64:
runs-on: macos-latest
strategy:
Expand Down Expand Up @@ -165,3 +208,15 @@ jobs:
working-directory: ${{github.workspace}}
run: xmake test

- name: Extract branch name
shell: bash
run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT
id: extract_branch

- name: Install Package
env:
ACTIONS_STEP_DEBUG: true
run: |
xrepo add-repo -y hyperion "https://github.com/braxtons12/hyperion_packages.git"
xrepo update-repo -y
xrepo install -y --toolchain=xcode "hyperion_mpl ${{ steps.extract_branch.outputs.branch }}"

0 comments on commit 62472aa

Please sign in to comment.