dep

Package manager for embedded C libraries
git clone git://git.finwo.net/app/dep
Log | Files | Refs | README | LICENSE

commit 8b1ca971f1f986b1388c2cc43f6286330cbccc45
parent 360948ea7e6ae350cacc6eed7dab664b9cc0f0be
Author: finwo <finwo@pm.me>
Date:   Sat, 14 Mar 2026 01:59:11 +0100

Add missing dependencies for building in gh-actions

Diffstat:
M.github/workflows/release.yml | 16+++++++++++-----
MMakefile | 2+-
2 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml @@ -37,18 +37,23 @@ jobs: if: matrix.os == 'linux' run: | sudo apt-get update - sudo apt-get install -y clang curl + sudo apt-get install -y clang curl libcurl4-openssl-dev + + - name: Set up Homebrew + if: matrix.os == 'macos' + id: set-up-homebrew + uses: Homebrew/actions/setup-homebrew@main - name: Install dependencies (macOS) if: matrix.os == 'macos' run: | - brew install clang + brew install llvm - name: Install dependencies (Windows cross-compile) if: matrix.os == 'windows' run: | sudo apt-get update - sudo apt-get install -y mingw-w64 clang curl + sudo apt-get install -y mingw-w64 curl - name: Build for Linux if: matrix.os == 'linux' @@ -61,8 +66,9 @@ jobs: - name: Build for Windows if: matrix.os == 'windows' run: | - make dep CC=x86_64-w64-mingw32-clang LDFLAGS=-lwinhttp \ - EXE_EXT=.exe ARCH_TARGET=elf64-x86-64 ARCH_BIN=i386 + make dep CC=x86_64-w64-mingw32-gcc LDFLAGS='-lwinhttp -lcrypt32' \ + EXE_EXT=.exe ARCH_TARGET=pep-x86-64 ARCH_BIN=i386 \ + OBJCOPY=x86_64-w64-mingw32-objcopy - name: Rename binary run: | diff --git a/Makefile b/Makefile @@ -1,7 +1,7 @@ CC?=clang FIND=$(shell which gfind find | head -1) -OBJCOPY=$(shell which objcopy) +OBJCOPY?=objcopy UNAME_P:=$(shell uname -p) UNAME_M:=$(shell uname -m)