-
Notifications
You must be signed in to change notification settings - Fork 0
59 lines (55 loc) · 1.94 KB
/
Copy pathverify.yml
File metadata and controls
59 lines (55 loc) · 1.94 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
name: Verify
concurrency:
cancel-in-progress: false
group: verify
on:
push:
branches: [ "main", "master" ]
pull_request:
branches: [ "main", "master" ]
jobs:
verify-ubuntu:
name: Verify on Ubuntu
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Install ubuntu Dependencies
run: |
sudo apt-get update
sudo apt-get install -y build-essential cmake g++-14 ninja-build libasound2-dev libx11-dev libxrandr-dev libxi-dev libgl1-mesa-dev libglu1-mesa-dev libxcursor-dev libxinerama-dev
- name: Configure CMake
run: cmake -B ${{ github.workspace }}/build -S . -DCMAKE_BUILD_TYPE=Release
env:
CXX: g++-14
- name: Build Target
run: cmake --build ${{ github.workspace }}/build --config Release
- name: Verify Executable Production
run: ls -l ${{ github.workspace }}/build/vectorjs
verify-windows:
name: Verify on Windows
runs-on: windows-latest
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Configure CMake
run: cmake -B ${{ github.workspace }}\build -S . -DCMAKE_BUILD_TYPE=Release
- name: Build Target
run: cmake --build ${{ github.workspace }}\build --config Release
- name: Verify Executable Production
shell: pwsh
run: Test-Path "${{ github.workspace }}\build\Release\vectorjs.exe"
verify-mac:
name: Verify on macOS
runs-on: macos-latest
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Install Ninja
run: brew install ninja
- name: Configure CMake
run: cmake -B ${{ github.workspace }}/build -S . -DCMAKE_BUILD_TYPE=Release
- name: Build Target
run: cmake --build ${{ github.workspace }}/build --config Release
- name: Verify Executable Production
run: ls -l ${{ github.workspace }}/build/vectorjs