Skip to content

Update c-cpp.yml

Update c-cpp.yml #14

Workflow file for this run

name: Build
on:
workflow_dispatch:
push:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: depend
run: sudo apt install git build-essential cmake libuv1-dev libssl-dev libhwloc-dev && ls
- name: mkdir
run: mkdir build
- name: cd
run: cd build
- name: cmake
run: cmake .
- name: make
run: make -j$(nproc)
- name: Upload a Build Artifact
uses: actions/[email protected]
with:
name: artifact