Build #1
This file contains 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 | |
on: | |
workflow_dispatch: | |
env: | |
VCPKG_BINARY_SOURCES: "clear;x-gha,readwrite" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Export GitHub Actions cache environment variables | |
uses: actions/github-script@v7 | |
with: | |
script: | | |
core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || ''); | |
core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || ''); | |
- name: Maybe useful update | |
run: sudo apt update | |
- name: Cache APT Packages | |
uses: awalsh128/[email protected] | |
with: | |
packages: libxinerama-dev libxcursor-dev xorg-dev libglu1-mesa-dev pkg-config build-essential | |
execute_install_scripts: true # optional, set to true if you need to run install scripts | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Clone vcpkg | |
run: git clone https://github.com/microsoft/vcpkg.git | |
- name: Bootstrap vcpkg | |
run: ./vcpkg/bootstrap-vcpkg.sh -disableMetrics | |
- name: Build Circulli Bellum | |
run: make only_build |