Update Github CI:

* Build release branches on PR
  * Checkout monero release branch
This commit is contained in:
Lee *!* Clagett 2024-04-08 15:05:43 -04:00
parent 075abc87b2
commit 8f0f0813e1

View file

@ -4,7 +4,7 @@ on:
push: push:
branches: [ "master", "develop", "release-*" ] branches: [ "master", "develop", "release-*" ]
pull_request: pull_request:
branches: [ "master", "develop" ] branches: [ "master", "develop", "release-*" ]
env: env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) # Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
@ -49,6 +49,7 @@ jobs:
repository: monero-project/monero repository: monero-project/monero
path: ${{github.workspace}}/monero/ path: ${{github.workspace}}/monero/
submodules: recursive submodules: recursive
ref: release-v0.18
- name: Configure Monero - name: Configure Monero
run: cmake -B ${{github.workspace}}/monero/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} ${{github.workspace}}/monero run: cmake -B ${{github.workspace}}/monero/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} ${{github.workspace}}/monero