Update workflows
This commit is contained in:
1 parent
cc48cca779
commit
93455218e8
4 files changed
+4
-15
No files matched your search
@@ -1,6 +1,4 @@
|
||||
# This starter workflow is for a CMake project running on a single platform. There is a different starter workflow if you need cross-platform coverage.
|
||||
# See: https://github.com/actions/starter-workflows/blob/main/ci/cmake-multi-platform.yml
|
||||
name: Build Software and create release on tag
|
||||
name: Build Software
|
||||
|
||||
on:
|
||||
push:
|
||||
@@ -18,9 +16,6 @@ env:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
# The CMake configure and build commands are platform agnostic and should work equally well on Windows or Mac.
|
||||
# You can convert this to a matrix build if you need cross-platform coverage.
|
||||
# See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
@@ -35,19 +30,13 @@ jobs:
|
||||
run: ls && cd pico-sdk && git submodule update --init && cd ..
|
||||
|
||||
- name: Configure and run CMake for Hardware Rev 0.3
|
||||
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
|
||||
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
|
||||
run: cmake -B ${{github.workspace}}/Software/build-Rev-0_3 -S ${{github.workspace}}/Software -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DPICO_BOARD=RP2040-Decoder-board-Rev-0_3
|
||||
|
||||
- name: Build for Hardware Rev 0.3
|
||||
# Build your program with the given configuration
|
||||
run: cmake --build ${{github.workspace}}/Software/build-Rev-0_3 --config ${{env.BUILD_TYPE}}
|
||||
|
||||
- name: Configure and run CMake for Hardware Rev 1.0
|
||||
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
|
||||
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
|
||||
run: cmake -B ${{github.workspace}}/Software/build-Rev-1_0 -S ${{github.workspace}}/Software -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DPICO_BOARD=RP2040-Decoder-board-Rev-1_0
|
||||
|
||||
- name: Build for Hardware Rev 1.0
|
||||
# Build your program with the given configuration
|
||||
run: cmake --build ${{github.workspace}}/Software/build-Rev-1_0 --config ${{env.BUILD_TYPE}}
|
||||
@@ -1,4 +1,4 @@
|
||||
name: Doxygen Action
|
||||
name: Generate documentation doxygen/breathe/sphinx and deploy on gh-pages/gh-pages-dev
|
||||
|
||||
on:
|
||||
push:
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
name: pcb_image
|
||||
name: Render PCB images and rotating gif
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
name: Build Software and create release on tag
|
||||
name: Build Software and create prerelease on tag
|
||||
|
||||
on:
|
||||
push:
|
||||
|
||||
Reference in new issue
Block a user