Compare commits

..

No commits in common. "master" and "v1.0" have entirely different histories.
master ... v1.0

5 changed files with 7 additions and 6 deletions

View File

@ -18,7 +18,7 @@ jobs:
- name: Check repository out. - name: Check repository out.
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Build Docker Image - name: Build Docker Image
run: "docker build --no-cache -t git.mixedup.dev/refuel/docker-cross-compiler:${{gitea.ref_name}} ." run: "docker build -t git.mixedup.dev/refuel/docker-cross-compiler:${{gitea.ref_name}} ."
- name: Upload Docker Image - name: Upload Docker Image
run: "docker push git.mixedup.dev/refuel/docker-cross-compiler:${{gitea.ref_name}}" run: "docker push git.mixedup.dev/refuel/docker-cross-compiler:${{gitea.ref_name}}"
- name: Alias image as latest and push. - name: Alias image as latest and push.

View File

@ -28,7 +28,6 @@ RUN echo docker_cross_compiler > /etc/hostname
cpio \ cpio \
curl \ curl \
dotnet-sdk-6.0 \ dotnet-sdk-6.0 \
dotnet-sdk-8.0 \
gcc-arm-linux-gnueabihf \ gcc-arm-linux-gnueabihf \
gcc-aarch64-linux-gnu \ gcc-aarch64-linux-gnu \
gcc-i686-linux-gnu \ gcc-i686-linux-gnu \

View File

@ -1,7 +1,7 @@
# ReFuel Toolchain file for OSX-ARM64 systems. # ReFuel Toolchain file for OSX-ARM64 systems.
# Copyright (C) 2024 # Copyright (C) 2024
set(CMAKE_SYSTEM_NAME Darwin) set(CMAKE_SYSTEM_NAME OSX)
set(CMAKE_C_COMPILER aarch64-apple-darwin23-clang) set(CMAKE_C_COMPILER aarch64-apple-darwin23-clang)
set(CMAKE_CXX_COMPILER aarch64-apple-darwin23-clang++) set(CMAKE_CXX_COMPILER aarch64-apple-darwin23-clang++)

View File

@ -1,7 +1,7 @@
# ReFuel Toolchain file for OSX-ARM64 systems. # ReFuel Toolchain file for OSX-ARM64 systems.
# Copyright (C) 2024 # Copyright (C) 2024
set(CMAKE_SYSTEM_NAME Darwin) set(CMAKE_SYSTEM_NAME OSX)
set(CMAKE_C_COMPILER x86_64-apple-darwin23-clang) set(CMAKE_C_COMPILER x86_64-apple-darwin23-clang)
set(CMAKE_CXX_COMPILER x86_64-apple-darwin23-clang++) set(CMAKE_CXX_COMPILER x86_64-apple-darwin23-clang++)

6
sh/build_native.sh Executable file → Normal file
View File

@ -16,7 +16,7 @@ fi
if [ -z "$ARCHS" ] if [ -z "$ARCHS" ]
then then
ARCHS="linux-arm linux-arm64 linux-x64 win-x64 win-x86 osx-arm64 osx-x64" ARCHS="linux-arm linux-arm64 linux-x64 win-x64 win-x86"
fi fi
if [ -z "$DST" ] if [ -z "$DST" ]
@ -43,9 +43,11 @@ for ARCH in $ARCHS; do
cmake -B $BUILD -S $SRC \ cmake -B $BUILD -S $SRC \
-G Ninja \ -G Ninja \
-DCMAKE_BUILD_TYPE=Release \ -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_C_FLAGS=-static-libgcc \
-DCMAKE_CXX_FLAGS=-static-libgcc \
-DCMAKE_INSTALL_PREFIX=$PREFIX \ -DCMAKE_INSTALL_PREFIX=$PREFIX \
-DCMAKE_TOOLCHAIN_FILE=$TOOLCHAIN \ -DCMAKE_TOOLCHAIN_FILE=$TOOLCHAIN \
$REFUEL_ADDITIONAL_CMAKE $QUIK_ADDITIONAL_CMAKE
# Build and install. # Build and install.
ninja -C $BUILD all ninja -C $BUILD all