perlin-shadows/.forgejo/workflows/build.yaml
Michael Bradley 1e601da194
Some checks failed
Build / Build (push) Failing after 19s
Install CMake for build
2025-02-23 12:04:52 -05:00

25 lines
547 B
YAML

---
on: [push]
name: Build
jobs:
build:
name: Build
runs-on: ubuntu-22.04
steps:
- name: Check out the code
uses: actions/checkout@v4
- name: Install the toolchain
run: |
sudo apt-get update
sudo apt-get -y install cmake
- name: Set up the build environment
run: cmake .
- name: Compile the code
run: cmake --build .
- name: Save executable
uses: forgejo/upload-artifact@v4
with:
name: bin.zip
path: perlin-noise