mirror of
https://github.com/roswell/roswell.git
synced 2026-09-10 07:16:17 -04:00
prepare upload.exe compiled with 64bit sbcl and use to upload 32bit result.
This commit is contained in:
parent
7ee3f5bb5d
commit
b7b5a1c6c9
3
.github/workflows/windows.yml
vendored
3
.github/workflows/windows.yml
vendored
|
|
@ -57,5 +57,4 @@ jobs:
|
|||
GITHUB_OAUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
shell: msys2 {0}
|
||||
run: |
|
||||
ros install snmsts/sn.github
|
||||
make -f scripts/Makefile latest-version musl-upload
|
||||
make -f scripts/Makefile latest-version win-upload
|
||||
|
|
|
|||
|
|
@ -48,4 +48,11 @@ musl:
|
|||
musl-upload:
|
||||
env FILE=`echo roswell*.tar.bz2` VERSION=$(VERSION) $(MAKE) -f $(realpath $(firstword $(MAKEFILE_LIST))) upload
|
||||
|
||||
upload.exe:
|
||||
curl --no-progress-bar --retry 10 -o upload.tar.bz2 -L https://github.com/roswell/roswell/releases/download/v21.06.14.110/upload-mingw64_nt-x86_64.tar.bz2
|
||||
tar xvf upload.tar.bz2
|
||||
|
||||
win-upload: upload.exe
|
||||
env FILE=`echo roswell*.tar.bz2` VERSION=v$(VERSION) OWNER=roswell REPO=roswell ./upload.exe
|
||||
|
||||
.PHONY: all latest-version checkout show build-docker pull-docker docker upload musl
|
||||
|
|
|
|||
24
scripts/upload.ros
Normal file
24
scripts/upload.ros
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
#!/bin/sh
|
||||
#|-*- mode:lisp -*-|#
|
||||
#|
|
||||
exec ros -Q -- $0 "$@"
|
||||
|#
|
||||
(progn ;;init forms
|
||||
(ros:ensure-asdf)
|
||||
#+quicklisp(ql:quickload '(:roswell.github.utils) :silent t))
|
||||
|
||||
(defpackage :ros.script.upload.3834455303
|
||||
(:use :cl))
|
||||
(in-package :ros.script.upload.3834455303)
|
||||
|
||||
(defun main (&rest argv)
|
||||
(declare (ignorable argv))
|
||||
(mapc (lambda (x)
|
||||
(print x)
|
||||
(roswell.github.utils:github
|
||||
x
|
||||
(uiop:getenv "VERSION")
|
||||
(uiop:getenv "OWNER")
|
||||
(uiop:getenv "REPO")))
|
||||
(directory (uiop:getenv "FILE"))))
|
||||
;;; vim: set ft=lisp lisp:
|
||||
Loading…
Reference in a new issue