Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build against openxla XLA repo #393

Merged
merged 464 commits into from
Jun 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
464 commits
Select commit Hold shift + click to select a range
0001867
workflow fixes
joelberkeley Apr 25, 2024
9f5ea61
chmod
joelberkeley Apr 25, 2024
b588ee7
fixes
joelberkeley Apr 25, 2024
bf09de4
wip
joelberkeley Apr 25, 2024
65d4890
wip
joelberkeley Apr 25, 2024
c695965
wip
joelberkeley Apr 25, 2024
73d1dd0
wip
joelberkeley Apr 25, 2024
1dbc331
re sha
joelberkeley Apr 25, 2024
18d7706
re sha
joelberkeley Apr 25, 2024
7a0b5f9
cache pjrt build
joelberkeley Apr 26, 2024
d68d8c1
fetch cpu plugin cache
joelberkeley Apr 26, 2024
cf11d2b
fix cpu link name
joelberkeley Apr 26, 2024
ffe244d
readme
joelberkeley Apr 26, 2024
5df171c
empty pjrt readme
joelberkeley Apr 26, 2024
771e9ca
wip
joelberkeley May 1, 2024
1c72f97
build XLA CUDA PJRT plugin in GH actions
joelberkeley May 2, 2024
76af206
dummy cuda test run
joelberkeley May 2, 2024
c29a1ff
whoops
joelberkeley May 2, 2024
39bb702
run CUDA tests; delete unnecessary header content
joelberkeley May 2, 2024
287b181
fiw workflow file
joelberkeley May 2, 2024
fde4dec
add draft CUDA dockerfile
joelberkeley May 2, 2024
4a77edf
fix workflow file
joelberkeley May 2, 2024
db102fc
wip
joelberkeley May 2, 2024
9cb2ff7
fix workflow file
joelberkeley May 2, 2024
707e02e
wip
joelberkeley May 3, 2024
8d08b74
wip
joelberkeley May 3, 2024
07e04e4
wip
joelberkeley May 3, 2024
e587bf2
wip
joelberkeley May 3, 2024
f26d1cb
wip
joelberkeley May 3, 2024
892fbfe
wip
joelberkeley May 3, 2024
ff3d848
CUDA working locally!! woohoo!!!
joelberkeley May 3, 2024
0ba89d5
wi
joelberkeley May 3, 2024
5cdc650
wip
joelberkeley May 4, 2024
8c40fa9
Merge branch 'master' into xla-build
joelberkeley May 4, 2024
8d7b2ad
Merge branch 'master' into xla-build
joelberkeley May 5, 2024
bf1440b
remove cron cache, ubuntu gpu dockerfile; improve docs
joelberkeley May 6, 2024
acb2856
docs
joelberkeley May 6, 2024
864fe0c
docs
joelberkeley May 6, 2024
f1851e4
docs
joelberkeley May 6, 2024
91d3bb4
docs
joelberkeley May 6, 2024
b0b560d
doc
joelberkeley May 6, 2024
1c021ab
doc
joelberkeley May 6, 2024
a5972ab
doc
joelberkeley May 6, 2024
806bc9f
restructure device stuff
joelberkeley May 6, 2024
c2871d1
gh actions format
joelberkeley May 6, 2024
d2610d8
import
joelberkeley May 6, 2024
5b23e93
wip
joelberkeley May 6, 2024
3adb946
use empty cuda config
joelberkeley May 6, 2024
e662bf4
wip
joelberkeley May 6, 2024
79316ac
change cache key
joelberkeley May 7, 2024
3b55433
wip
joelberkeley May 7, 2024
070d638
sort ErrIO
joelberkeley May 7, 2024
cd5ba82
merge gitignores
joelberkeley May 7, 2024
af51ab1
wip
joelberkeley May 7, 2024
f664193
python cache fix for plugin builds
joelberkeley May 7, 2024
4d432f7
tuples working: all tests passing
joelberkeley May 10, 2024
44d95ed
tidy
joelberkeley May 10, 2024
37f027a
wip
joelberkeley May 10, 2024
52a9851
tidy imports
joelberkeley May 11, 2024
caa2e24
tidy imports
joelberkeley May 11, 2024
ef656ed
remove cuda build from github; use existing builds for cpu/cuda
joelberkeley May 12, 2024
77c1302
sh
joelberkeley May 12, 2024
0b503b5
wip
joelberkeley May 12, 2024
d419942
wip
joelberkeley May 12, 2024
c4eea7a
wip
joelberkeley May 12, 2024
0812947
wip
joelberkeley May 12, 2024
6541f72
sh
joelberkeley May 12, 2024
20adf10
wip
joelberkeley May 12, 2024
d384f9b
wip
joelberkeley May 12, 2024
517190d
wip
joelberkeley May 12, 2024
94ecb5c
wip
joelberkeley May 12, 2024
6f74a84
v3
joelberkeley May 12, 2024
d6701b5
sh
joelberkeley May 12, 2024
a1c6005
sh
joelberkeley May 12, 2024
d2e1f51
sh
joelberkeley May 12, 2024
047bc7f
sh
joelberkeley May 12, 2024
814b766
sh
joelberkeley May 12, 2024
50fb17a
sh
joelberkeley May 12, 2024
d5288b1
wip
joelberkeley May 12, 2024
f2b94ba
sh
joelberkeley May 12, 2024
e070b9a
wip
joelberkeley May 12, 2024
67a49b6
ls
joelberkeley May 12, 2024
4e6d542
ls
joelberkeley May 12, 2024
171f587
ls
joelberkeley May 12, 2024
035a019
revert version
joelberkeley May 13, 2024
079054f
reinstate CUDA builds
joelberkeley May 15, 2024
03d71c4
wip
joelberkeley May 15, 2024
c16b5e1
typo
joelberkeley May 15, 2024
7498f6e
dirs
joelberkeley May 15, 2024
940ed61
wip
joelberkeley May 15, 2024
d35b49b
wip
joelberkeley May 15, 2024
983858d
wip
joelberkeley May 15, 2024
a63e02e
explicit docker container
joelberkeley May 15, 2024
84608ae
wip
joelberkeley May 15, 2024
c0939a1
wip
joelberkeley May 15, 2024
52a9ecf
wip
joelberkeley May 15, 2024
38feee0
sh
joelberkeley May 15, 2024
c9dfced
sh
joelberkeley May 15, 2024
2df4b60
sh
joelberkeley May 15, 2024
9b32436
sh
joelberkeley May 15, 2024
6bbcfcb
Revert "sh"
joelberkeley May 15, 2024
55308a0
wip
joelberkeley May 15, 2024
169d072
checkout before merge commit
joelberkeley May 15, 2024
e2d2325
use branch
joelberkeley May 15, 2024
1f2c3e3
use branch
joelberkeley May 15, 2024
fb986ca
tidy
joelberkeley May 15, 2024
e573de1
wip
joelberkeley May 15, 2024
c308121
wip
joelberkeley May 15, 2024
f7beb4b
wip
joelberkeley May 15, 2024
f72b7b0
always fetch pre-built
joelberkeley May 15, 2024
8a33b61
only fetch cpu; free up space for cuda
joelberkeley May 15, 2024
7b61acf
yaml
joelberkeley May 15, 2024
0d3b4f5
yaml
joelberkeley May 15, 2024
e9c87c9
XDG_CACHE_HOME
joelberkeley May 15, 2024
31deed8
wip
joelberkeley May 15, 2024
3a5c65c
runner os
joelberkeley May 16, 2024
0fd8947
disable caching to see if runs is always faster
joelberkeley May 16, 2024
8c02cca
reenable
joelberkeley May 16, 2024
aa87bd0
sudont
joelberkeley May 16, 2024
7bde10d
disable cuda build
joelberkeley May 16, 2024
c4c0951
wip
joelberkeley May 16, 2024
dcb4700
separate executable build options
joelberkeley May 17, 2024
1520cca
ignores
joelberkeley May 17, 2024
4b43acd
postinstalls
joelberkeley May 17, 2024
39606d7
readme
joelberkeley May 17, 2024
6ca7391
here
joelberkeley May 17, 2024
a61733f
readme
joelberkeley May 17, 2024
ad106a1
make bash functions path independent
joelberkeley May 17, 2024
62d9bf1
shellcheck
joelberkeley May 17, 2024
188683c
sh
joelberkeley May 17, 2024
40485da
sh
joelberkeley May 17, 2024
9e6f0f0
wip
joelberkeley May 17, 2024
4f03c56
delete dockerfile
joelberkeley May 17, 2024
5885347
manual install
joelberkeley May 18, 2024
76ce9e3
manual install
joelberkeley May 18, 2024
1aa38cf
manual install
joelberkeley May 18, 2024
e828db1
manual install
joelberkeley May 18, 2024
63e99a6
manual install
joelberkeley May 18, 2024
c1aa1f1
manual install
joelberkeley May 18, 2024
b4f839e
wip
joelberkeley May 18, 2024
8903f1b
remaining actions
joelberkeley May 20, 2024
740e54d
wip
joelberkeley May 20, 2024
32aa4a9
wip
joelberkeley May 20, 2024
fccf39e
wip
joelberkeley May 20, 2024
87f6d04
wip
joelberkeley May 20, 2024
d5108b6
backend version
joelberkeley May 20, 2024
5b23afa
wip
joelberkeley May 20, 2024
2eb5505
wip
joelberkeley May 20, 2024
5058536
asset_content_type
joelberkeley May 20, 2024
a88ece0
mimetype for shared lib; release workflow for plugins
joelberkeley May 20, 2024
495fedb
fix workflow
joelberkeley May 20, 2024
5cca877
fix workflow
joelberkeley May 20, 2024
44311e1
release on merge
joelberkeley May 20, 2024
75b3064
README
joelberkeley May 20, 2024
1e8d069
docs
joelberkeley May 20, 2024
cf6059b
docs
joelberkeley May 20, 2024
6c1a584
delete HloModuleProto stuff
joelberkeley May 20, 2024
72e6b8c
erase shapes in eval
joelberkeley May 20, 2024
7725249
unsafe eval
joelberkeley May 20, 2024
18ad103
unsafe eval
joelberkeley May 20, 2024
25cfe72
revert finalisers; reinstate SPIDER_MANUAL_INSTALL
joelberkeley May 22, 2024
8b18636
delete PJRT_NamedValue functionality
joelberkeley May 22, 2024
817e581
wip
joelberkeley May 22, 2024
9d2ed4d
remove caching for xla build; use latest if version is unchanged
joelberkeley May 22, 2024
811d628
wip
joelberkeley May 22, 2024
1d4024a
install support libs locally
joelberkeley May 24, 2024
da5ecfa
wip
joelberkeley May 24, 2024
fb5b561
wip
joelberkeley May 24, 2024
6b62013
curl
joelberkeley May 24, 2024
4e7649a
yes
joelberkeley May 24, 2024
f04f8e6
no manual install option
joelberkeley May 24, 2024
437cb24
wip
joelberkeley May 25, 2024
2b56041
imports
joelberkeley May 25, 2024
7df9a50
drop c_; label versions with linux
joelberkeley May 25, 2024
7e32479
label versions with linux
joelberkeley May 25, 2024
453faf8
wip
joelberkeley May 25, 2024
f9d3c08
wip
joelberkeley May 25, 2024
3490a24
revert remove c_
joelberkeley May 26, 2024
2bfe831
revert remove c_
joelberkeley May 26, 2024
7e98905
wip
joelberkeley May 26, 2024
b5af64c
wip
joelberkeley May 26, 2024
0b527e8
wip
joelberkeley May 26, 2024
32d9093
docs
joelberkeley May 26, 2024
31ab59d
docs
joelberkeley May 26, 2024
08b2c68
docs
joelberkeley May 26, 2024
faf3868
docs
joelberkeley May 26, 2024
cf7313e
docs
joelberkeley May 26, 2024
2fc2eb4
docs
joelberkeley May 26, 2024
c41bf22
wip
joelberkeley May 26, 2024
53f3e7a
min-normal
joelberkeley May 26, 2024
b868a25
hide pjrt from users
joelberkeley May 26, 2024
b0e0ec1
wip
joelberkeley May 26, 2024
70afbbf
wip
joelberkeley May 26, 2024
e28a61b
wip
joelberkeley May 26, 2024
855c396
wip
joelberkeley May 26, 2024
eb1cc2b
wip
joelberkeley May 26, 2024
f0b21d1
indetation
joelberkeley May 26, 2024
7cb6ce6
eitherT; PjrtCApi
joelberkeley May 26, 2024
3e9835b
wip
joelberkeley May 26, 2024
c8df3f4
tutorial
joelberkeley May 27, 2024
f46a113
toc
joelberkeley May 27, 2024
0af42fc
literate
joelberkeley May 27, 2024
12e1d81
link
joelberkeley May 27, 2024
a1e1b28
wip
joelberkeley May 27, 2024
fb5dd25
wip
joelberkeley May 27, 2024
b562bc1
wip
joelberkeley May 27, 2024
87bc22d
let
joelberkeley May 27, 2024
665fc4c
let
joelberkeley May 27, 2024
fcb82af
let
joelberkeley May 27, 2024
873709b
let
joelberkeley May 27, 2024
8bf2b4f
let
joelberkeley May 27, 2024
c947e4d
let
joelberkeley May 27, 2024
28001b1
let
joelberkeley May 27, 2024
2f39d97
let
joelberkeley May 27, 2024
b09d099
let
joelberkeley May 27, 2024
b30e8ff
let
joelberkeley May 27, 2024
dafedd6
let
joelberkeley May 27, 2024
e70ae33
hlo
joelberkeley May 27, 2024
b863095
interpret
joelberkeley May 28, 2024
c4d2f6b
nuisances
joelberkeley May 28, 2024
90b4e64
wip
joelberkeley May 28, 2024
6a5aaff
wip
joelberkeley May 28, 2024
08b1e4d
complete draft of how spidr works
joelberkeley May 30, 2024
b3db6fc
wip
joelberkeley May 30, 2024
a595061
wip
joelberkeley May 30, 2024
0f4fc51
wip
joelberkeley May 30, 2024
fd11c76
wip
joelberkeley May 30, 2024
c399338
wip
joelberkeley May 31, 2024
8397a5d
wip
joelberkeley May 31, 2024
77291e4
wip
joelberkeley May 31, 2024
0730cb0
wip
joelberkeley May 31, 2024
617e3fa
dont execute all tutorials
joelberkeley May 31, 2024
57b037b
wip
joelberkeley May 31, 2024
cb33818
wip
joelberkeley Jun 1, 2024
f94e3e1
docs
joelberkeley Jun 1, 2024
2c5b4a6
docs
joelberkeley Jun 1, 2024
a224a54
docs
joelberkeley Jun 1, 2024
4199476
docs
joelberkeley Jun 1, 2024
d0c891f
wip
joelberkeley Jun 1, 2024
7192b68
wip
joelberkeley Jun 1, 2024
cccce0f
wip
joelberkeley Jun 1, 2024
ac08b11
wip
joelberkeley Jun 5, 2024
370d5e5
wip
joelberkeley Jun 6, 2024
f95729d
wip
joelberkeley Jun 6, 2024
cdac6b7
temporary release
joelberkeley Jun 6, 2024
a0b9886
revert temp change
joelberkeley Jun 6, 2024
a423cdb
wip
joelberkeley Jun 7, 2024
afc8ee1
tutorials
joelberkeley Jun 7, 2024
96475ea
tutorials
joelberkeley Jun 7, 2024
5610b24
wording
joelberkeley Jun 7, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@ on:
pull_request:
branches: master
paths:
- 'backend/**'
- 'spidr/backend/**'
- 'XLA_VERSION'

jobs:
backend-version:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Check backend version is updated
run: if [[ -z $(git diff HEAD~1 backend/VERSION) ]]; then exit 1; fi
run: sh -c "! git diff --exit-code HEAD^ spidr/backend/VERSION"
177 changes: 162 additions & 15 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,43 +2,190 @@ on:
pull_request:
branches: master

env:
PACK_DIR: /root/.pack

jobs:
test-unit:
shellcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install shellcheck
run: sudo apt-get install shellcheck
- name: Run shellcheck
shell: bash
run: |
shopt -s extglob nullglob globstar
shellcheck **/*.sh
pjrt-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Build PJRT + XLA binary
run: |
if [ ! "$(git diff --exit-code HEAD^ spidr/backend/VERSION)" ]; then
curl -LO "https://github.com/joelberkeley/spidr/releases/download/c-xla-v$(cat spidr/backend/VERSION)/libc_xla-linux.so"
else
# free up space not used if running in Docker, see
# https://github.com/orgs/community/discussions/25678#discussioncomment-5242449
rm -rf /opt/hostedtoolcache
docker run \
-v $(pwd):/spidr -w /spidr \
tensorflow/build:latest-python3.9 \
sh -c "spidr/backend/build.sh"
fi

mv libc_xla-linux.so libc_xla.so
- name: Upload binary
uses: actions/upload-artifact@v4
with:
name: libc_xla.so
path: libc_xla.so
if-no-files-found: error
pjrt-plugin-xla-cpu-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Build or fetch XLA CPU PJRT plugin
run: |
if [ ! "$(git diff --exit-code HEAD^ XLA_VERSION)" ]; then
. ./dev.sh
rev=$(cat XLA_VERSION)
curl -LO "https://github.com/joelberkeley/spidr/releases/download/xla-$(short_revision $rev)/pjrt_plugin_xla_cpu-linux.so"
else
rm -rf /opt/hostedtoolcache
docker run \
-v $(pwd):/spidr -w /spidr \
tensorflow/build:latest-python3.9 \
sh -c "pjrt-plugins/xla-cpu/build.sh"
fi

mv pjrt_plugin_xla_cpu-linux.so pjrt_plugin_xla_cpu.so
- name: Upload binary
uses: actions/upload-artifact@v4
with:
name: pjrt_plugin_xla_cpu.so
path: pjrt_plugin_xla_cpu.so
if-no-files-found: error
pjrt-plugin-xla-cuda-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Build or fetch XLA CUDA PJRT plugin
run: |
if [ ! "$(git diff --exit-code HEAD^ XLA_VERSION)" ]; then
. ./dev.sh
rev=$(cat XLA_VERSION)
curl -LO "https://github.com/joelberkeley/spidr/releases/download/xla-$(short_revision $rev)/pjrt_plugin_xla_cuda-linux.so"
else
rm -rf /opt/hostedtoolcache
# note this implies specific versions of CUDA and cuDNN
docker run \
-v $(pwd):/spidr -w /spidr \
tensorflow/build:latest-python3.9 \
sh -c "pjrt-plugins/xla-cuda/build.sh"
fi

mv pjrt_plugin_xla_cuda-linux.so pjrt_plugin_xla_cuda.so
- name: Upload binary
uses: actions/upload-artifact@v4
with:
name: pjrt_plugin_xla_cuda.so
path: pjrt_plugin_xla_cuda.so
if-no-files-found: error
build-tests-xla-cpu:
runs-on: ubuntu-latest
container: ghcr.io/stefan-hoeck/idris2-pack
steps:
- uses: actions/checkout@v3
- name: Build backend
working-directory: backend
- uses: actions/checkout@v4
- name: Build tests
working-directory: test/xla-cpu
run: |
./install_bazel.sh
./build.sh cpu
apt-get update && apt-get install -y curl
pack switch HEAD
pack --no-prompt build xla-cpu.ipkg
tar cfz tests-xla-cpu.tar.gz -C build/exec .
- name: Upload tests
uses: actions/upload-artifact@v4
with:
name: tests-xla-cpu.tar.gz
path: test/xla-cpu/tests-xla-cpu.tar.gz
if-no-files-found: error
build-tests-xla-cuda:
runs-on: ubuntu-latest
container: ghcr.io/stefan-hoeck/idris2-pack
steps:
- uses: actions/checkout@v4
- name: Build tests
working-directory: test/xla-cuda
run: |
apt-get update && apt-get install -y curl
pack switch HEAD
pack --no-prompt build test.ipkg
pack --no-prompt build xla-cuda.ipkg
tar cfz tests-xla-cuda.tar.gz -C build/exec .
- name: Upload tests
uses: actions/upload-artifact@v4
with:
name: tests-xla-cuda.tar.gz
path: test/xla-cuda/tests-xla-cuda.tar.gz
if-no-files-found: error
test-xla-cpu-linux:
needs:
- pjrt-linux
- pjrt-plugin-xla-cpu-linux
- build-tests-xla-cpu
runs-on: ubuntu-latest
steps:
- name: Download artifacts
uses: actions/download-artifact@v4
with:
merge-multiple: true
- name: Install runtime dependencies
run: |
sudo apt-get install chezscheme
- name: Run tests
run: |
tar xfz tests-xla-cpu.tar.gz . && rm tests-xla-cpu.tar.gz
./test
test-xla-cuda-linux:
needs:
- pjrt-linux
- pjrt-plugin-xla-cuda-linux
- build-tests-xla-cuda
runs-on: ubuntu-latest # needs a CUDA runner
container: nvcr.io/nvidia/tensorrt:23.11-py3
steps:
- name: Download artifacts
uses: actions/download-artifact@v4
with:
merge-multiple: true
- name: Install runtime dependencies
run: |
apt-get update && apt-get install chezscheme
- name: Run tests
run: pack run test.ipkg
env:
LD_LIBRARY_PATH: $LD_LIBRARY_PATH:backend/bazel-bin
run: |
tar xfz tests-xla-cuda.tar.gz . && rm tests-xla-cuda.tar.gz
exit 0 # we can't run tests without a GPU
readme:
runs-on: ubuntu-latest
container: ghcr.io/stefan-hoeck/idris2-pack
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Type-check README
run: |
apt-get update && apt-get install -y curl
pack switch HEAD
pack --no-prompt typecheck readme.ipkg
tutorials:
runs-on: ubuntu-latest
container: ghcr.io/stefan-hoeck/idris2-pack
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Type-check tutorials
run: |
apt-get update && apt-get install -y curl
pack switch HEAD
res=0; for f in tutorials/*.ipkg; do pack --no-prompt typecheck $f || res=$?; done; $(exit $res)
65 changes: 0 additions & 65 deletions .github/workflows/release-backend.yml

This file was deleted.

42 changes: 42 additions & 0 deletions .github/workflows/release-c-xla.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
on:
workflow_dispatch:
push:
branches: master
paths:
- 'spidr/backend/VERSION'

jobs:
create-release:
runs-on: ubuntu-latest
outputs:
upload_url: ${{ steps.create-release.outputs.upload_url }}
steps:
- uses: actions/checkout@v4
- name: Read C XLA version
run: echo "C_XLA_VERSION=$(cat spidr/backend/VERSION)" >> $GITHUB_ENV
- name: Create C XLA release
id: create-release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: c-xla-v${{ env.C_XLA_VERSION }}
release_name: C XLA release ${{ env.C_XLA_VERSION }}
body: "C XLA release ${{ env.C_XLA_VERSION }}"
c-xla:
needs: create-release
runs-on: ubuntu-latest
container: tensorflow/build:latest-python3.9
steps:
- uses: actions/checkout@v4
- name: Build C XLA lib
run: ./spidr/backend/build.sh
- name: Publish C XLA lib
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ needs.create-release.outputs.upload_url }}
asset_path: libc_xla-linux.so
asset_name: libc_xla-linux.so
asset_content_type: application/x-sharedlib
4 changes: 2 additions & 2 deletions .github/workflows/release-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ jobs:
runs-on: ubuntu-latest
container: ghcr.io/stefan-hoeck/idris2-pack
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: |
pack switch HEAD
pack --no-prompt --with-docs install spidr
mv build/docs .
mv spidr/build/docs .
- run: |
git config --global --add safe.directory "$GITHUB_WORKSPACE"
git add .
Expand Down
Loading
Loading