瀏覽代碼

Merge pull request #275 from joggee-fr/jg/build-cmake

Update GitHub build workflow to use CMake
cmake
Manfred Wallner 1 月之前
committed by GitHub
父節點
當前提交
80bb9da0e6
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: B5690EEEBB952194
共有 1 個文件被更改,包括 14 次插入2 次删除
  1. +14
    -2
      .github/workflows/build.yml

+ 14
- 2
.github/workflows/build.yml 查看文件

@@ -11,6 +11,18 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run build
- name: Install dependencies
run: |
./build
sudo apt-get install -y cmake

- name: Configure
run: |
cmake -S . -B build-wiringpi

- name: Build
run: |
cmake --build build-wiringpi

- name: Install
run: |
sudo cmake --install build-wiringpi --prefix /usr

Loading…
取消
儲存