Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix clang builds

Fix clang builds #112

Workflow file for this run

name: Build
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Get CPM
uses: neacsum/[email protected]
with:
name: cpm.exe
url: https://github.com/neacsum/cpm/releases/latest/download/cpm.exe
- name: Create dependencies directory
shell: cmd
run: |
if not exist "build\.dep-cache" mkdir "build\.dep-cache"
- name: Download dependencies
run: cpm -v --proto https -r build\.dep-cache
- name: Copy utpp directory
shell: cmd
run: |
xcopy /E /I build\.dep-cache\utpp build\.dep-cache\utpp-repo-src
- name: Build library (local version, not from CPM)
shell: cmd
run: |
build.bat lib
- name: Build and run tests
shell: cmd
run: |
build.bat tests
- name: Save tests result
uses: actions/upload-artifact@v4
with:
name: test_results
path: build/exe/x64/debug/utf8_tests.xml