-
Notifications
You must be signed in to change notification settings - Fork 11
33 lines (29 loc) · 1.01 KB
/
build.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Build LLVM and LLVM-MCAD inside Docker
on:
push:
schedule:
# Run nightly at 08:00 UTC (aka 00:00 Pacific, aka 03:00 Eastern)
- cron: '0 8 * * *'
permissions:
contents: read # Default everything to read-only
env:
WORKSPACE_PATH: ${{ github.workspace }}
jobs:
build:
# We need to run self-hosted because the GitHub runners run out of disk space.
runs-on: self-hosted
steps:
- uses: actions/checkout@v4
with:
path: 'LLVM-MCA-Daemon'
- name: setup and build inside Docker
run: cd LLVM-MCA-Daemon/docker && ./up
- name: clean up - delete docker image
if: always() # this line is needed to make this action run even if the previous step fails
run: docker image rm mcad_dev # remove image after we're done to conserve space
#- name: install dependencies
# run: sudo ./docker/setup-deps.sh
#- name: build LLVM
# run: ./docker/setup-llvm.sh
#- name: build LLVM-MCA-Daemon
# run: ./docker/setup-build.sh