Skip to content

Checking out the code isn't automatic. #5

Checking out the code isn't automatic.

Checking out the code isn't automatic. #5

Workflow file for this run

name: cesium-native
on: [push, pull_request]
jobs:
QuickChecks:
name: "Quick Checks"
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Check source formatting
run: |
npm install
npm run format -- --dry-run -Werror
VS2019:
name: "Windows + VS2019"
runs-on: windows-2019
steps:
- name: Install Doxygen
run: |
choco install -y doxygen.install --version=1.9.2
- name: Install nasm
run: |
choco install -y nasm
- name: Check out repository code
uses: actions/checkout@v3
with:
submodules: recursive
- name: Compile Debug Configuration
run: |
cmake --version
mkdir build
cmake -B build -S .
cmake --build build --config Debug --parallel 4
- name: Test Debug Configuration
run: |
cd build
ctest -V
- name: Compile RelWithDebInfo Configuration
run: |
cmake --build build --config RelWithDebInfo --parallel 4
- name: Test RelWithDebInfo Configuration
run: |
cd build
ctest -V
- name: Generate Documentation
run: |
cmake --build build --config Debug --target cesium-native-docs
- name: Publish Documentation Artifact
if: ${{ success() }}
uses: actions/upload-artifact@v3
with:
name: ReferenceDocumentation
path: build/doc/html