Skip to content

Guo-Haowei is testing out GitHub Actions #6

Guo-Haowei is testing out GitHub Actions

Guo-Haowei is testing out GitHub Actions #6

Workflow file for this run

name: CI
run-name: ${{ github.actor }} is testing out GitHub Actions
on: [push]
jobs:
build:
runs-on: windows-latest
steps:
- name: Download Source Code
uses: actions/checkout@v4
- run: dir
- name: Configure CMake
uses: actions/checkout@v4
- run: cmake -S . -B build -A Win32
- name: Build with CMake
run: cmake --build build --config Debug
- name: Upload Build Artifacts
uses: actions/upload-artifact@v4
with:
name: cc
path: ./build/Debug/c.c.exe
test:
runs-on: windows-latest
needs: build
steps:
- name: Download Source Code
uses: actions/checkout@v4
- run: dir
- name: Download Build Artifacts
uses: actions/download-artifact@v4
with:
name: cc
- name: Run Tests
run: python -u .\run_tests.py