File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99 build :
1010 runs-on : self-hosted
1111 permissions :
12- contents : read
13- id-token : write
12+ contents : write
1413
1514 steps :
1615 - name : Pull Gem5 Prebuilt Dependency Image
2524
2625 - name : Build LLVM
2726 run : |
28- docker run --rm -v ${{ github.workspace }}:/workspace -w /workspace \
27+ docker run --rm -v ${{ github.workspace }}:/workspace -w /workspace/llvm-project \
2928 ghcr.io/gem5/ubuntu-22.04_all-dependencies:latest \
3029 bash -c "
3130 mkdir -p build && cd build &&
@@ -35,20 +34,14 @@ jobs:
3534 - name : Archive Build Artifacts
3635 run : tar -czvf riscv-llvm-release.tar.gz riscv-llvm
3736
38- - name : Create Release
39- id : create_release
37+ - name : Create Release and Upload Assets
4038 uses : softprops/action-gh-release@v1
4139 with :
4240 tag_name : ${{ github.ref }}
4341 name : Release ${{ github.ref }}
4442 draft : false
4543 prerelease : false
4644
47- - name : Upload Release Assets
48- uses : softprops/action-gh-release@v1
49- with :
50- files : riscv-llvm-release.tar.gz
51-
5245 trigger :
5346 name : Trigger build base image
5447 runs-on : ubuntu-latest
5750 - name : Trigger building base iamge
5851 run : gh api /repos/PSAL-POSTECH/PyTorchSim/dispatches -f event_type='build_base'
5952 env :
60- GITHUB_TOKEN : ${{ secrets.GIT_ACCESS_TOKEN }}
53+ GH_TOKEN : ${{ secrets.GIT_ACCESS_TOKEN }}
You can’t perform that action at this time.
0 commit comments