Skip to content

Update ci.yml

Update ci.yml #10

Workflow file for this run

name: 'ci'
on: # rebuild any PRs and main branch changes
pull_request:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout (GitHub)
uses: actions/checkout@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and run Dev Container task
uses: devcontainers/[email protected]
with:
# Change this to point to your image name
imageName: ghcr.io/optitool/morituri-devcontainer
cacheFrom: ghcr.io/optitool/morituri-devcontainer
push: always
env:
CC : gcc-12

Check failure on line 31 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / ci

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 31, Col: 13): A mapping was not expected
CXX : g++-12
# Change this to be your CI task/script
runCmd: |
# Add multiple commands to run if needed
mkdir -p build
cd build
cmake -G'Ninja' -DVCPKG_INSTALLED_DIR=/vcpkg_installed -DCMAKE_TOOLCHAIN_FILE=/vcpkg/scripts/buildsystems/vcpkg.cmake ..
cmake --build .
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: morituri
path: build/comm2osm