mirror of
https://github.com/RubyMetric/chsrc.git
synced 2024-11-25 09:41:46 +08:00
Fix build name in CI
This commit is contained in:
parent
01fef6b6bf
commit
f8ed5820da
4
.github/workflows/windows.yml
vendored
4
.github/workflows/windows.yml
vendored
|
@ -31,13 +31,13 @@ jobs:
|
|||
|
||||
- name: Compile chsrc x64
|
||||
run: |
|
||||
mingw32-make.exe CI BUILD_NAME=chsrc-x64-windows
|
||||
mingw32-make.exe CI CI_BUILD_NAME=chsrc-x64-windows
|
||||
|
||||
- name: Compile chsrc x86
|
||||
env:
|
||||
MSYSTEM: MINGW32
|
||||
run: |
|
||||
mingw32-make.exe CI BUILD_NAME=chsrc-x86-windows
|
||||
mingw32-make.exe CI CI_BUILD_NAME=chsrc-x86-windows
|
||||
|
||||
- name: List files
|
||||
run: ls *.exe
|
||||
|
|
7
Makefile
7
Makefile
|
@ -3,7 +3,7 @@
|
|||
# License : GPLv3
|
||||
# Authors : Aoran Zeng <ccmywish@qq.com>
|
||||
# Created on : <2023-08-28>
|
||||
# Last modified : <2023-09-12>
|
||||
# Last modified : <2023-09-14>
|
||||
# ---------------------------------------------------------------
|
||||
|
||||
CFLAGS = # -Wall
|
||||
|
@ -14,6 +14,8 @@ ifeq ($(OS), Windows_NT)
|
|||
endif
|
||||
|
||||
TARGET = chsrc
|
||||
|
||||
CI_BUILD_NAME = chsrc
|
||||
#=======================
|
||||
|
||||
all:
|
||||
|
@ -24,6 +26,9 @@ else
|
|||
endif
|
||||
@echo Compile done using \'$(CC)\' $(CFLAGS)
|
||||
|
||||
CI: all
|
||||
@mv chsrc $(CI_BUILD_NAME)
|
||||
|
||||
test: $(TARGET)
|
||||
./$(TARGET) list mirror
|
||||
./$(TARGET) list target
|
||||
|
|
Loading…
Reference in New Issue
Block a user