Rename output dir from build to dist

This commit is contained in:
Turiiya 2023-08-21 18:53:29 +02:00
parent 9a8081647d
commit 900d9670ca
49 changed files with 55 additions and 55 deletions

View File

@ -48,7 +48,7 @@ jobs:
uses: ilammy/msvc-dev-cmd@v1
- name: Build
run: |
mkdir build
mkdir dist
if ('${{ matrix.compiler }}' -eq 'MSVC') {
nmake -f Makefile.nmake
} else {
@ -57,7 +57,7 @@ jobs:
- name: Prepare Artifact
shell: bash
run: |
cp -r include build
cp -r include dist
artifact=${{ runner.os }}-${{ matrix.compiler }}-x64
# Add the ARTIFACT name(`,,` ^= lowercase shell param) as GitHub environment variable.
echo "ARTIFACT=${artifact,,}" >> $GITHUB_ENV
@ -65,7 +65,7 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: ${{ env.ARTIFACT }}
path: build
path: dist
- name: Release Artifact
if: github.ref_type == 'tag'
uses: softprops/action-gh-release@v1
@ -97,7 +97,7 @@ jobs:
make
- name: Prepare Artifact
run: |
cp -r include build
cp -r include dist
artifact=${{ runner.os }}-${{ matrix.compiler }}-x64
# Add the ARTIFACT name(`,,` ^= lowercase shell param) as GitHub environment variable.
echo "ARTIFACT=${artifact,,}" >> $GITHUB_ENV
@ -105,7 +105,7 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: ${{ env.ARTIFACT }}
path: build
path: dist
- name: Release Artifact
if: github.ref_type == 'tag'
uses: softprops/action-gh-release@v1
@ -133,7 +133,7 @@ jobs:
make
- name: Prepare Artifacts
run: |
cp -r include build
cp -r include dist
# Add the ARTIFACT name(lowercased) as GitHub environment variable.
artifact=$(echo ${{ runner.os }}-${{ matrix.compiler }}-x64 | tr '[:upper:]' '[:lower:]')
echo "ARTIFACT=$artifact" >> $GITHUB_ENV
@ -141,7 +141,7 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: ${{ env.ARTIFACT }}
path: build
path: dist
- name: Release Artifact
if: github.ref_type == 'tag'
uses: softprops/action-gh-release@v1

View File

@ -4,7 +4,7 @@
MAKEFILE_PATH := $(abspath $(lastword $(MAKEFILE_LIST)))
MAKEFILE_DIR := $(dir $(MAKEFILE_PATH))
BUILD_DIR := $(MAKEFILE_DIR)/build
BUILD_DIR := $(MAKEFILE_DIR)/dist
# Args
# Allow to add arch-target for macOS CI cross compilation

View File

@ -5,7 +5,7 @@
# Paths
MAKEFILE_DIR = ./
BUILD_DIR = $(MAKEFILE_DIR)/build
BUILD_DIR = $(MAKEFILE_DIR)/dist
# Build Flags
CIVETWEB_BUILD_FLAGS = /Focivetweb.obj /c /EHsc "$(MAKEFILE_DIR)/src/civetweb/civetweb.c" /I "$(MAKEFILE_DIR)/src/civetweb/"

View File

@ -2,7 +2,7 @@
# C++ Example
# Linux - Clang
LIB=../../../../../build
LIB=../../../../../dist
INCLUDE=../../../../../include
SOURCE=../..

View File

@ -2,7 +2,7 @@
# C++ Example
# Linux - GCC
LIB=../../../../../build
LIB=../../../../../dist
INCLUDE=../../../../../include
SOURCE=../..

View File

@ -3,7 +3,7 @@
# Windows - GCC
SHELL=CMD
LIB=../../../../../build
LIB=../../../../../dist
INCLUDE=../../../../../include
SOURCE=../..

View File

@ -3,7 +3,7 @@
# Windows - Microsoft Visual C++
SHELL=CMD
_LIB=../../../../../build
_LIB=../../../../../dist
_INCLUDE=../../../../../include/
_SOURCE=../../

View File

@ -3,7 +3,7 @@
# Windows - Tiny C Compiler
SHELL=CMD
LIB=../../../../../build
LIB=../../../../../dist
INCLUDE=../../../../../include/
SOURCE=../../

View File

@ -2,7 +2,7 @@
# C++ Example
# macOS - Clang
LIB=../../../../../build
LIB=../../../../../dist
INCLUDE=../../../../../include
SOURCE=../..

View File

@ -2,7 +2,7 @@
# C++ Example
# Linux - Clang
LIB=../../../../../build
LIB=../../../../../dist
INCLUDE=../../../../../include
SOURCE=../..

View File

@ -2,7 +2,7 @@
# C++ Example
# Linux - GCC
LIB=../../../../../build
LIB=../../../../../dist
INCLUDE=../../../../../include
SOURCE=../..

View File

@ -3,7 +3,7 @@
# Windows - GCC
SHELL=CMD
LIB=../../../../../build
LIB=../../../../../dist
INCLUDE=../../../../../include
SOURCE=../..

View File

@ -3,7 +3,7 @@
# Windows - Microsoft Visual C++
SHELL=CMD
_LIB=../../../../../build
_LIB=../../../../../dist
_INCLUDE=../../../../../include/
_SOURCE=../../

View File

@ -3,7 +3,7 @@
# Windows - Tiny C Compiler
SHELL=CMD
LIB=../../../../../build
LIB=../../../../../dist
INCLUDE=../../../../../include/
SOURCE=../../

View File

@ -2,7 +2,7 @@
# C++ Example
# macOS - Clang
LIB=../../../../../build
LIB=../../../../../dist
INCLUDE=../../../../../include
SOURCE=../..

View File

@ -2,7 +2,7 @@
# C++ Example
# Linux - Clang
LIB=../../../../../build
LIB=../../../../../dist
INCLUDE=../../../../../include
SOURCE=../..

View File

@ -2,7 +2,7 @@
# C++ Example
# Linux - GCC
LIB=../../../../../build
LIB=../../../../../dist
INCLUDE=../../../../../include
SOURCE=../..

View File

@ -3,7 +3,7 @@
# Windows - GCC
SHELL=CMD
LIB=../../../../../build
LIB=../../../../../dist
INCLUDE=../../../../../include
SOURCE=../..

View File

@ -3,7 +3,7 @@
# Windows - Microsoft Visual C++
SHELL=CMD
_LIB=../../../../../build
_LIB=../../../../../dist
_INCLUDE=../../../../../include/
_SOURCE=../../

View File

@ -2,7 +2,7 @@
# C++ Example
# macOS - Clang
LIB=../../../../../build
LIB=../../../../../dist
INCLUDE=../../../../../include
SOURCE=../..

View File

@ -2,7 +2,7 @@
# C++ Example
# Linux - Clang
LIB=../../../../../build
LIB=../../../../../dist
INCLUDE=../../../../../include
SOURCE=../..

View File

@ -2,7 +2,7 @@
# C++ Example
# Linux - GCC
LIB=../../../../../build
LIB=../../../../../dist
INCLUDE=../../../../../include
SOURCE=../..

View File

@ -3,7 +3,7 @@
# Windows - GCC
SHELL=CMD
LIB=../../../../../build
LIB=../../../../../dist
INCLUDE=../../../../../include
SOURCE=../..

View File

@ -3,7 +3,7 @@
# Windows - Microsoft Visual C++
SHELL=CMD
_LIB=../../../../../build
_LIB=../../../../../dist
_INCLUDE=../../../../../include/
_SOURCE=../../

View File

@ -2,7 +2,7 @@
# C++ Example
# macOS - Clang
LIB=../../../../../build
LIB=../../../../../dist
INCLUDE=../../../../../include
SOURCE=../..

View File

@ -2,7 +2,7 @@
# C99 Example
# Linux - Clang
LIB=../../../../../build
LIB=../../../../../dist
INCLUDE=../../../../../include
SOURCE=../..

View File

@ -2,7 +2,7 @@
# C99 Example
# Linux - GCC
LIB=../../../../../build
LIB=../../../../../dist
INCLUDE=../../../../../include
SOURCE=../..

View File

@ -3,7 +3,7 @@
# Windows - GCC
SHELL=CMD
LIB=../../../../../build
LIB=../../../../../dist
INCLUDE=../../../../../include
SOURCE=../..

View File

@ -3,7 +3,7 @@
# Windows - Microsoft Visual C
SHELL=CMD
_LIB=../../../../../build
_LIB=../../../../../dist
_INCLUDE=../../../../../include/
_SOURCE=../../

View File

@ -3,7 +3,7 @@
# Windows - Tiny C Compiler
SHELL=CMD
LIB=../../../../../build
LIB=../../../../../dist
INCLUDE=../../../../../include/
SOURCE=../../

View File

@ -2,7 +2,7 @@
# C99 Example
# macOS - Clang
LIB=../../../../../build
LIB=../../../../../dist
INCLUDE=../../../../../include
SOURCE=../..

View File

@ -2,7 +2,7 @@
# C99 Example
# Linux - Clang
LIB=../../../../../build
LIB=../../../../../dist
INCLUDE=../../../../../include
SOURCE=../..

View File

@ -2,7 +2,7 @@
# C99 Example
# Linux - GCC
LIB=../../../../../build
LIB=../../../../../dist
INCLUDE=../../../../../include
SOURCE=../..

View File

@ -3,7 +3,7 @@
# Windows - GCC
SHELL=CMD
LIB=../../../../../build
LIB=../../../../../dist
INCLUDE=../../../../../include
SOURCE=../..

View File

@ -3,7 +3,7 @@
# Windows - Microsoft Visual C
SHELL=CMD
_LIB=../../../../../build
_LIB=../../../../../dist
_INCLUDE=../../../../../include/
_SOURCE=../../

View File

@ -3,7 +3,7 @@
# Windows - Tiny C Compiler
SHELL=CMD
LIB=../../../../../build
LIB=../../../../../dist
INCLUDE=../../../../../include/
SOURCE=../../

View File

@ -2,7 +2,7 @@
# C99 Example
# macOS - Clang
LIB=../../../../../build
LIB=../../../../../dist
INCLUDE=../../../../../include
SOURCE=../..

View File

@ -2,7 +2,7 @@
# C99 Example
# Linux - Clang
LIB=../../../../../build
LIB=../../../../../dist
INCLUDE=../../../../../include
SOURCE=../..

View File

@ -2,7 +2,7 @@
# C99 Example
# Linux - GCC
LIB=../../../../../build
LIB=../../../../../dist
INCLUDE=../../../../../include
SOURCE=../..

View File

@ -3,7 +3,7 @@
# Windows - GCC
SHELL=CMD
LIB=../../../../../build
LIB=../../../../../dist
INCLUDE=../../../../../include
SOURCE=../..

View File

@ -3,7 +3,7 @@
# Windows - Microsoft Visual C
SHELL=CMD
_LIB=../../../../../build
_LIB=../../../../../dist
_INCLUDE=../../../../../include/
_SOURCE=../../

View File

@ -3,7 +3,7 @@
# Windows - Tiny C Compiler
SHELL=CMD
LIB=../../../../../build
LIB=../../../../../dist
INCLUDE=../../../../../include/
SOURCE=../../

View File

@ -2,7 +2,7 @@
# C99 Example
# macOS - Clang
LIB=../../../../../build
LIB=../../../../../dist
INCLUDE=../../../../../include
SOURCE=../..

View File

@ -2,7 +2,7 @@
# C99 Example
# Linux - Clang
LIB=../../../../../build
LIB=../../../../../dist
INCLUDE=../../../../../include
SOURCE=../..

View File

@ -2,7 +2,7 @@
# C99 Example
# Linux - GCC
LIB=../../../../../build
LIB=../../../../../dist
INCLUDE=../../../../../include
SOURCE=../..

View File

@ -3,7 +3,7 @@
# Windows - GCC
SHELL=CMD
LIB=../../../../../build
LIB=../../../../../dist
INCLUDE=../../../../../include
SOURCE=../..

View File

@ -3,7 +3,7 @@
# Windows - Microsoft Visual C
SHELL=CMD
_LIB=../../../../../build
_LIB=../../../../../dist
_INCLUDE=../../../../../include/
_SOURCE=../../

View File

@ -3,7 +3,7 @@
# Windows - Tiny C Compiler
SHELL=CMD
LIB=../../../../../build
LIB=../../../../../dist
INCLUDE=../../../../../include/
SOURCE=../../

View File

@ -2,7 +2,7 @@
# C99 Example
# macOS - Clang
LIB=../../../../../build
LIB=../../../../../dist
INCLUDE=../../../../../include
SOURCE=../..