refactor: yet another merge of files #46
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Verify | |
| concurrency: | |
| cancel-in-progress: false | |
| group: verify | |
| on: | |
| push: | |
| branches: [ "main", "master" ] | |
| pull_request: | |
| branches: [ "main", "master" ] | |
| types: [opened, synchronize, reopened] | |
| 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 |