Skip to content
This repository has been archived by the owner on Dec 31, 2023. It is now read-only.

[ImgBot] Optimize images #130

[ImgBot] Optimize images

[ImgBot] Optimize images #130

Workflow file for this run

name: Build Project
on: [push, pull_request]
jobs:
build:
name: Build.Windows.${{ matrix.architecture }}
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
architecture: [x86, x64]
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v3
with:
submodules: recursive
- name: Setup MSVC Developer Command Prompt
uses: TheMrMilchmann/setup-msvc-dev@v2.0.0
with:
arch: ${{ matrix.architecture }}
- name: Install Ninja build tool
uses: seanmiddleditch/gha-setup-ninja@v3
with:
version: 1.11.1
- name: Configure CMake
run: |
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Debug -DwxUSE_STL=ON -DwxBUILD_COMPATIBILITY="3.1" -DwxBUILD_SHARED=OFF -G"Ninja" -DCMAKE_C_COMPILER=cl -DCMAKE_CXX_COMPILER=cl
- name: Build project
working-directory: ${{ github.workspace }}\build
run: cmake --build . --config Debug --target EPR
lint:
name: Linter
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Super-Linter
uses: super-linter/super-linter@v5.2.0
env:
DEFAULT_BRANCH: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}