WIP: build script and github pipeline #1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Build LLVM" | ||
Check failure on line 1 in .github/workflows/build-llvm.yaml
|
||
on: [push] | ||
jobs: | ||
# create_release: | ||
# name: create release | ||
# runs-on: ubuntu-20.04 | ||
# permissions: | ||
# contents: write # for creating releases | ||
# steps: | ||
# - name: checkout | ||
# uses: actions/checkout@v3 | ||
# - name: read version | ||
# id: read-version | ||
# run: | | ||
# echo ::set-output name=version::\ | ||
# $(cat VERSION) | ||
# shell: bash | ||
# - name: create release | ||
# uses: softprops/action-gh-release@v1 | ||
# with: | ||
# name: Release ${{ steps.read-version.outputs.version }} | ||
# body_path: ./.github/release_template.md | ||
# generate_release_notes: true | ||
# draft: false # creating drafts conflicts with prebuild | ||
# prerelease: true # using a prerelease instead | ||
build-llvm: | ||
name: build-llvm | ||
# needs: [create_release] | ||
strategy: | ||
matrix: | ||
# os: [ubuntu-20.04, macos-11, windows-2019] | ||
os: [ubuntu-20.04] | ||
opts: [""] | ||
include: | ||
- os: macos-11 | ||
opts: "--arch arm64" | ||
runs-on: ${{ matrix.os }} | ||
container: { image: ubuntu:16.04 } | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v3 | ||
- run: "apt upgrade && apt install -y clang git wget" | ||