mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 19:28:57 +01:00
.github/workflows, internal/uidriver/glfw: Use curl's --remote-name
This commit is contained in:
parent
eae40c90bb
commit
0e5dca9453
2
.github/workflows/steam.sh
vendored
2
.github/workflows/steam.sh
vendored
@ -3,7 +3,7 @@ export CGO_CFLAGS=-std=gnu99
|
|||||||
export DISPLAY=:99.0
|
export DISPLAY=:99.0
|
||||||
|
|
||||||
# Install Go
|
# Install Go
|
||||||
curl -L --output ${GO_FILENAME} https://golang.org/dl/${GO_FILENAME}
|
curl --location --remote-name https://golang.org/dl/${GO_FILENAME}
|
||||||
rm -rf /usr/local/go && tar -C /usr/local -xzf ${GO_FILENAME}
|
rm -rf /usr/local/go && tar -C /usr/local -xzf ${GO_FILENAME}
|
||||||
|
|
||||||
# Run X
|
# Run X
|
||||||
|
8
.github/workflows/steam.yml
vendored
8
.github/workflows/steam.yml
vendored
@ -19,14 +19,14 @@ jobs:
|
|||||||
|
|
||||||
- name: Docker build (386)
|
- name: Docker build (386)
|
||||||
run: |
|
run: |
|
||||||
curl -L --output com.valvesoftware.SteamRuntime.Sdk-i386-scout-sysroot.Dockerfile https://repo.steampowered.com/steamrt-images-scout/snapshots/${STEAM_RUNTIME_VERSION}/com.valvesoftware.SteamRuntime.Sdk-i386-scout-sysroot.Dockerfile
|
curl --location --remote-name https://repo.steampowered.com/steamrt-images-scout/snapshots/${STEAM_RUNTIME_VERSION}/com.valvesoftware.SteamRuntime.Sdk-i386-scout-sysroot.Dockerfile
|
||||||
curl -L --output com.valvesoftware.SteamRuntime.Sdk-i386-scout-sysroot.tar.gz https://repo.steampowered.com/steamrt-images-scout/snapshots/${STEAM_RUNTIME_VERSION}/com.valvesoftware.SteamRuntime.Sdk-i386-scout-sysroot.tar.gz
|
curl --location --remote-name https://repo.steampowered.com/steamrt-images-scout/snapshots/${STEAM_RUNTIME_VERSION}/com.valvesoftware.SteamRuntime.Sdk-i386-scout-sysroot.tar.gz
|
||||||
docker build -f com.valvesoftware.SteamRuntime.Sdk-i386-scout-sysroot.Dockerfile -t steamrt_scout_i386:latest .
|
docker build -f com.valvesoftware.SteamRuntime.Sdk-i386-scout-sysroot.Dockerfile -t steamrt_scout_i386:latest .
|
||||||
|
|
||||||
- name: Docker build (amd64)
|
- name: Docker build (amd64)
|
||||||
run: |
|
run: |
|
||||||
curl -L --output com.valvesoftware.SteamRuntime.Sdk-amd64,i386-scout-sysroot.Dockerfile https://repo.steampowered.com/steamrt-images-scout/snapshots/${STEAM_RUNTIME_VERSION}/com.valvesoftware.SteamRuntime.Sdk-amd64,i386-scout-sysroot.Dockerfile
|
curl --location --remote-name https://repo.steampowered.com/steamrt-images-scout/snapshots/${STEAM_RUNTIME_VERSION}/com.valvesoftware.SteamRuntime.Sdk-amd64,i386-scout-sysroot.Dockerfile
|
||||||
curl -L --output com.valvesoftware.SteamRuntime.Sdk-amd64,i386-scout-sysroot.tar.gz https://repo.steampowered.com/steamrt-images-scout/snapshots/${STEAM_RUNTIME_VERSION}/com.valvesoftware.SteamRuntime.Sdk-amd64,i386-scout-sysroot.tar.gz
|
curl --location --remote-name https://repo.steampowered.com/steamrt-images-scout/snapshots/${STEAM_RUNTIME_VERSION}/com.valvesoftware.SteamRuntime.Sdk-amd64,i386-scout-sysroot.tar.gz
|
||||||
docker build -f com.valvesoftware.SteamRuntime.Sdk-amd64,i386-scout-sysroot.Dockerfile -t steamrt_scout_amd64:latest .
|
docker build -f com.valvesoftware.SteamRuntime.Sdk-amd64,i386-scout-sysroot.Dockerfile -t steamrt_scout_amd64:latest .
|
||||||
|
|
||||||
- name: Docker run (386)
|
- name: Docker run (386)
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
// +build !android
|
// +build !android
|
||||||
// +build !ios
|
// +build !ios
|
||||||
|
|
||||||
//go:generate curl --location --output gamecontrollerdb.txt https://raw.githubusercontent.com/gabomdq/SDL_GameControllerDB/master/gamecontrollerdb.txt
|
//go:generate curl --location --remote-name https://raw.githubusercontent.com/gabomdq/SDL_GameControllerDB/master/gamecontrollerdb.txt
|
||||||
//go:generate file2byteslice -package glfw -input=./gamecontrollerdb.txt -output=./gamecontrollerdb.txt.go -var=gamecontrollerdbTxt
|
//go:generate file2byteslice -package glfw -input=./gamecontrollerdb.txt -output=./gamecontrollerdb.txt.go -var=gamecontrollerdbTxt
|
||||||
|
|
||||||
package glfw
|
package glfw
|
||||||
|
Loading…
Reference in New Issue
Block a user