Skip to content

Commit

Permalink
[wip]
Browse files Browse the repository at this point in the history
  • Loading branch information
mosra committed Jun 30, 2024
1 parent 164f1ee commit 7500794
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/swiftshader.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,9 @@ concurrency:
cancel-in-progress: true

env:
# Ideally use a commit that's verified to work well elsewhere (Arch
# swiftshader-git package, for example)
COMMIT: a6940c8e6eb0c61c433ed4b61ae04c12ff37bfbb
# This one includes a fix for building on ARM64 on macOS, and hopefully
# doesn't cause any other breakage
COMMIT_MAC: 14dcbed947ce755af1fcbfb3ba8e643b4e769860
# This one includes a fix for building on ARM64 on macOS, and seems to fix
# various other bugs
COMMIT: 14dcbed947ce755af1fcbfb3ba8e643b4e769860

# Mostly just copied from here, with ES1 disabled:
# https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=swiftshader-git
Expand All @@ -36,7 +33,7 @@ jobs:
# default?!)
run: |
apt update
apt install -y ninja-build libx11-dev wget g++ software-properties-common
apt install -y ninja-build libx11-dev libxext-dev wget g++ software-properties-common
- name: Install a newer Git version from a PPA
# The actions/checkout FOR SOME REASON requires Git 2.18+, while 18.04
# ships only with 2.17. Ultimately that means the "clones" are not
Expand Down Expand Up @@ -152,7 +149,7 @@ jobs:
# default?!)
run: |
apt update
apt install -y ninja-build libx11-dev wget g++ software-properties-common
apt install -y ninja-build libx11-dev libxext-dev wget g++ software-properties-common
- name: Install a newer Git version from a PPA
# The actions/checkout FOR SOME REASON requires Git 2.18+, while 18.04
# ships only with 2.17. Ultimately that means the "clones" are not
Expand Down Expand Up @@ -235,7 +232,7 @@ jobs:
uses: actions/checkout@v4.1.7
with:
repository: google/swiftshader
ref: ${{ env.COMMIT_MAC }}
ref: ${{ env.COMMIT }}
path: swiftshader
# Yeah, I know, but the repo has no tags, and we use number of commits
# for SWIFTSHADER_VERSION.
Expand Down

0 comments on commit 7500794

Please sign in to comment.