Skip to content

WIP: build script and github pipeline #6

WIP: build script and github pipeline

WIP: build script and github pipeline #6

Workflow file for this run

name: "Build LLVM"
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]
runs-on: ${{ matrix.os }}
container:
image: ubuntu:16.04
steps:
- name: checkout
uses: actions/checkout@v3
- run: "apt update && apt install -y clang git wget build-essential python3"
- run: "wget https://github.com/Kitware/CMake/releases/download/v3.30.0-rc2/cmake-3.30.0-rc2-linux-x86_64.sh"
- run: "chmod +x cmake-*.sh"
- run: "./cmake-*.sh --skip-license --prefix=/usr"
- run: "cmake --version"
- run: "./build-llvm-libs.sh"