ci: compile all files (?) #5
This file contains 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: Build QQMsg | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- "QQMsg/**" | |
- ".github/workflows/build_qqmsg.yml" | |
jobs: | |
test: | |
# Run a job for each of the specified target architectures: | |
strategy: | |
matrix: | |
arch: | |
- amd64 | |
- amd64_x86 | |
- amd64_arm64 | |
name: default | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ilammy/msvc-dev-cmd@v1 | |
with: | |
arch: ${{ matrix.arch }} | |
- name: Compile QQMsg | |
shell: cmd | |
run: | | |
cl.exe QQMsg.cpp tree.c md5.c QQmsg_decode.c /out:QQMsg.exe | |
dir | |
working-directory: QQMsg | |
- name: Upload artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: QQMsg | |
path: QQMsg/*.exe |