20 Commits

Author SHA1 Message Date
themixedupstuff 5af0afc451 Use the new Debian 13 database for .net
Build / build (push) Failing after 54s
2026-04-14 23:45:13 +03:00
themixedupstuff e3f052f181 Add .net10 to the build.
Build / build (push) Failing after 56s
2026-04-14 22:33:57 +02:00
themixedupstuff d0f5760c7a Add --no-cache to the correct place in the build command.
Build / build (push) Successful in 27m11s
2024-07-23 22:48:53 +03:00
themixedupstuff db4b7e7c46 Add --no-cache to build command.
Build / build (push) Failing after 32s
2024-07-23 22:47:16 +03:00
themixedupstuff 165fd4f7f3 Add the .net 8.0 sdk to the build image.
Build / build (push) Failing after 1m47s
2024-07-23 22:41:38 +03:00
themixedupstuff 518969e2c9 Merge branch 'stable' of https://git.mixedup.dev/ReFuel/docker-cross-compiler into stable
Build / build (push) Successful in 36s
2024-06-20 12:57:36 +03:00
themixedupstuff 3b4d6cee18 Rename additional cmake variable. 2024-06-20 12:45:58 +03:00
themixedupstuff 5901e3e317 Update build_native to honor build options. 2024-06-14 22:11:22 +03:00
themixedupstuff 44c8ab3212 Update the cmake scripts by copying the correct commit. 2024-06-14 22:00:05 +03:00
themixedupstuff 36660bcf38 Add osx options again. 2024-06-14 21:52:51 +03:00
themixedupstuff caafc898f3 Convert all files to lf. 2024-06-14 18:24:14 +03:00
themixedupstuff 797197b562 Revert "Remove init.sh."
Build / build (push) Successful in 40s
This reverts commit 5959c1229f.
2024-06-13 21:20:50 +03:00
themixedupstuff 74e192bb05 Change workflow to use tags. 2024-06-13 21:17:13 +03:00
themixedupstuff d3f2aee3c3 Fix .bashrc after removing init.sh 2024-06-13 21:16:38 +03:00
themixedupstuff 35f1d46e81 Fix typo 2024-06-13 21:01:26 +03:00
themixedupstuff 5959c1229f Remove init.sh. 2024-06-13 21:00:57 +03:00
themixedupstuff 4107bf9df4 Rebrand as ReFuel.
Build / build (push) Failing after 30s
2024-06-13 20:57:08 +03:00
themixedupstuff fe004342de Reintroduce build essentials into this repository. 2024-06-13 20:49:00 +03:00
themixedupstuff 9eb5f90a2e Merge branch 'stable' of https://git.mixedup.dev/QUIK/docker-cross-compiler into stable
Build / build (push) Successful in 25m12s
2024-03-30 14:34:19 +03:00
themixedupstuff ac01f7f2aa [v1.0] Add automatic build action.
Build / build (push) Successful in 34s
Try adding secrets to the workflow script.

Fix workflow.

Fix typo.

fix docker name conflict.

Removed cmake files from this repository and added node and meson to the apt packages list.

Update .gitea/workflows/build.yaml

node -> nodejs
2024-03-23 11:33:28 +03:00
7 changed files with 17 additions and 13 deletions
+9 -4
View File
@@ -2,7 +2,8 @@ name: Build
run-name: Building docker container.
on:
push:
branches: stable
tags:
- '*'
jobs:
build:
@@ -13,10 +14,14 @@ jobs:
- name: Gather dependencies.
run: apt install -y docker.io
- name: Log into Docker registry.
run: "echo ${{secrets.QUIK_API_KEY}} | docker login -u themixedupstuff --password-stdin git.mixedup.dev"
run: "echo ${{secrets.REFUEL_API_KEY}} | docker login -u ${{vars.DOCKER_USER_NAME}} --password-stdin git.mixedup.dev"
- name: Check repository out.
uses: actions/checkout@v3
- name: Build Docker Image
run: docker build -t git.mixedup.dev/quik/docker-cross-compiler .
run: "docker build --no-cache -t git.mixedup.dev/refuel/docker-cross-compiler:${{gitea.ref_name}} ."
- name: Upload Docker Image
run: docker push git.mixedup.dev/quik/docker-cross-compiler
run: "docker push git.mixedup.dev/refuel/docker-cross-compiler:${{gitea.ref_name}}"
- name: Alias image as latest and push.
run: |
docker tag git.mixedup.dev/refuel/docker-cross-compiler:${{gitea.ref_name}} git.mixedup.dev/refuel/docker-cross-compiler:latest && \
docker push git.mixedup.dev/refuel/docker-cross-compiler:latest
+3 -1
View File
@@ -14,7 +14,7 @@ RUN echo docker_cross_compiler > /etc/hostname
RUN apt-get install -y sudo wget
# Add the .NET package repository to the repository listing.
RUN wget https://packages.microsoft.com/config/debian/11/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
RUN wget https://packages.microsoft.com/config/debian/13/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
RUN dpkg -i packages-microsoft-prod.deb
RUN rm packages-microsoft-prod.deb
@@ -28,6 +28,8 @@ RUN echo docker_cross_compiler > /etc/hostname
cpio \
curl \
dotnet-sdk-6.0 \
dotnet-sdk-8.0 \
dotnet-sdk-10.0 \
gcc-arm-linux-gnueabihf \
gcc-aarch64-linux-gnu \
gcc-i686-linux-gnu \
+1 -1
View File
@@ -1,7 +1,7 @@
# ReFuel Toolchain file for OSX-ARM64 systems.
# Copyright (C) 2024
set(CMAKE_SYSTEM_NAME OSX)
set(CMAKE_SYSTEM_NAME Darwin)
set(CMAKE_C_COMPILER aarch64-apple-darwin23-clang)
set(CMAKE_CXX_COMPILER aarch64-apple-darwin23-clang++)
+1 -1
View File
@@ -1,7 +1,7 @@
# ReFuel Toolchain file for OSX-ARM64 systems.
# Copyright (C) 2024
set(CMAKE_SYSTEM_NAME OSX)
set(CMAKE_SYSTEM_NAME Darwin)
set(CMAKE_C_COMPILER x86_64-apple-darwin23-clang)
set(CMAKE_CXX_COMPILER x86_64-apple-darwin23-clang++)
-1
View File
@@ -1,4 +1,3 @@
source $HOME/src/sh/init.sh
echo ReFuel Project - Copyright \(C\) 2023
echo
echo This is an interactive shell for ReFuel build image.
Regular → Executable
+2 -4
View File
@@ -16,7 +16,7 @@ fi
if [ -z "$ARCHS" ]
then
ARCHS="linux-arm linux-arm64 linux-x64 win-x64 win-x86"
ARCHS="linux-arm linux-arm64 linux-x64 win-x64 win-x86 osx-arm64 osx-x64"
fi
if [ -z "$DST" ]
@@ -43,11 +43,9 @@ for ARCH in $ARCHS; do
cmake -B $BUILD -S $SRC \
-G Ninja \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_C_FLAGS=-static-libgcc \
-DCMAKE_CXX_FLAGS=-static-libgcc \
-DCMAKE_INSTALL_PREFIX=$PREFIX \
-DCMAKE_TOOLCHAIN_FILE=$TOOLCHAIN \
$QUIK_ADDITIONAL_CMAKE
$REFUEL_ADDITIONAL_CMAKE
# Build and install.
ninja -C $BUILD all
+1 -1
View File
@@ -6,7 +6,7 @@ fi
if [ -z "$NUGET_API_KEY" ]
then
echo "Please define QUIK_API_KEY"
echo "Please define NUGET_API_KEY"
exit 1
fi