Skip to content

Commit

Permalink
Improved CI/CD
Browse files Browse the repository at this point in the history
Added debug and release building on Linux and Windows OS
  • Loading branch information
BlingRob authored May 26, 2023
1 parent 0eaff6e commit b09a647
Showing 1 changed file with 43 additions and 2 deletions.
45 changes: 43 additions & 2 deletions .github/workflows/blank.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,11 @@ on:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
building:
Linux_Debug:
# The type of runner that the job will run on
name: Debug linux building
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
Expand All @@ -32,3 +33,43 @@ jobs:
run: cmake -DCMAKE_BUILD_TYPE=Debug . -DSDK_VERSION='1.3.250'
- name: Building
run: cmake --build .

Linux_Release:
name: Release linux building
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3

- run: sudo apt update
- name: Install Dependencies
run: sudo apt install --yes --no-install-recommends libwayland-dev libxrandr-dev wayland-protocols libxext-dev libx11-dev
- name: Generate CMake
run: cmake -DCMAKE_BUILD_TYPE=Release . -DSDK_VERSION='1.3.250'
- name: Building
run: cmake --build .

Windows_Debug:
name: Debug windows building
runs-on: windows-latest

steps:

- uses: actions/checkout@v2
- name: Generate CMake
run: cmake -DCMAKE_BUILD_TYPE=Debug . -DSDK_VERSION='1.3.250'
- name: Building
run: cmake --build .

Windows_Release:
name: Release windows building
runs-on: windows-latest

steps:

- uses: actions/checkout@v2
- name: Generate CMake
run: cmake -DCMAKE_BUILD_TYPE=Release . -DSDK_VERSION='1.3.250'
- name: Building
run: cmake --build .

0 comments on commit b09a647

Please sign in to comment.