Skip to content

Build

Build #1052

Workflow file for this run

name: Build
on:
schedule:
# 6am UTC is 7am Central European Time (CET) or 8am Central European Summer Time (CEST).
- cron: '0 4 * * *'
push:
branches:
- master
- develop
pull_request:
branches:
- master
- develop
workflow_call:
workflow_dispatch:
jobs:
build_x86:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Build Scalar x86
working-directory: ./Scripts
run: |
./build.sh -t x86 -b Release
build_llvm:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Get dates
id: dates
run: |
echo "today=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT
echo "yesterday=$(date +'%Y-%m-%d' -d yesterday)" >> $GITHUB_OUTPUT
echo "date=$(date +'%Y-%m-%d' -d 'last saturday')" >> $GITHUB_OUTPUT
- name: Download Cached GCC + LLVM Binaries
id: cache-gcc
uses: actions/cache/restore@v4
env:
cache-name: cache-gcc-binaries
with:
path: |
./Toolchain
!./Toolchain/*.sh
fail-on-cache-miss: true
key: gcc-binaries-${{ steps.dates.outputs.today }}
restore-keys: |
gcc-binaries-${{ steps.dates.outputs.yesterday }}
gcc-binaries-${{ steps.dates.outputs.date }}
gcc-binaries-
- name: Build Scalar LLVM
working-directory: ./Scripts
run: |
./build.sh -t LLVM -b Release
- name: Build Vector LLVM
if: success() || failure()
working-directory: ./Scripts
run: |
./build.sh -t LLVM -v -b Release
- name: Build Vector LLVM with IMV
if: success() || failure()
working-directory: ./Scripts
run: |
./build.sh -t LLVM -v -i -b Release
- name: Build Portable Vector LLVM
if: success() || failure()
working-directory: ./Scripts
run: |
./build.sh -t LLVM -v -b Release -x
- name: Build Portable Vector LLVM with IMV
if: success() || failure()
working-directory: ./Scripts
run: |
./build.sh -t LLVM -v -i -b Release -x
build_gcc:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Get dates
id: dates
run: |
echo "today=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT
echo "yesterday=$(date +'%Y-%m-%d' -d yesterday)" >> $GITHUB_OUTPUT
echo "date=$(date +'%Y-%m-%d' -d 'last saturday')" >> $GITHUB_OUTPUT
- name: Download Cached GCC + LLVM Binaries
id: cache-gcc
uses: actions/cache/restore@v4
env:
cache-name: cache-gcc-binaries
with:
path: |
./Toolchain
!./Toolchain/*.sh
fail-on-cache-miss: true
key: gcc-binaries-${{ steps.dates.outputs.today }}
restore-keys: |
gcc-binaries-${{ steps.dates.outputs.yesterday }}
gcc-binaries-${{ steps.dates.outputs.date }}
gcc-binaries-
- name: Build Scalar GCC
working-directory: ./Scripts
run: |
./build.sh -t GCC -b Release
- name: Build Vector GCC
if: success() || failure()
working-directory: ./Scripts
run: |
./build.sh -t GCC -v -b Release
- name: Build Vector GCC with IMV
if: success() || failure()
working-directory: ./Scripts
run: |
./build.sh -t GCC -v -i -b Release
- name: Build Portable Vector GCC
if: success() || failure()
working-directory: ./Scripts
run: |
./build.sh -t GCC -v -b Release -x
- name: Build Portable Vector GCC with IMV
if: success() || failure()
working-directory: ./Scripts
run: |
./build.sh -t GCC -v -i -b Release -x
- name: Build Packed GCC
if: success() || failure()
working-directory: ./Scripts
run: |
./build.sh -t GCC -p -b Release