Just trying to trigger release #1
41
.drone.yml
41
.drone.yml
@ -7,8 +7,45 @@ steps:
|
|||||||
image: golang:latest
|
image: golang:latest
|
||||||
commands:
|
commands:
|
||||||
- go test -v ./chip8
|
- go test -v ./chip8
|
||||||
- name : build
|
- name : build windows
|
||||||
image: golang:latest
|
image: golang:latest
|
||||||
commands:
|
commands:
|
||||||
- go build ./cmd/test_prog
|
- go build -o windows_test ./cmd/test_prog
|
||||||
|
enviroment:
|
||||||
|
GOOS: windows
|
||||||
|
GOARCH: amd64
|
||||||
|
- name : build linux
|
||||||
|
image: golang:latest
|
||||||
|
commands:
|
||||||
|
- go build -o linux_test ./cmd/test_prog
|
||||||
|
enviroment:
|
||||||
|
GOOS: linux
|
||||||
|
GOARCH: amd64
|
||||||
|
- name : build mac
|
||||||
|
image: golang:latest
|
||||||
|
commands:
|
||||||
|
- go build -o mac_test ./cmd/test_prog
|
||||||
|
enviroment:
|
||||||
|
GOOS: darwin
|
||||||
|
GOARCH: amd64
|
||||||
|
|
||||||
|
|
||||||
|
- name: publish
|
||||||
|
image: plugins/gitea-release
|
||||||
|
depends_on:
|
||||||
|
- test
|
||||||
|
- build
|
||||||
|
# This step is only run when a branch is tagged in Gitea.
|
||||||
|
when:
|
||||||
|
event:
|
||||||
|
- tag
|
||||||
|
settings:
|
||||||
|
base_url: https://git.jacknet.io
|
||||||
|
api_key:
|
||||||
|
from_secret: gitea_token
|
||||||
|
files:
|
||||||
|
- mac_test
|
||||||
|
- linux_test
|
||||||
|
- windows_test
|
||||||
|
checksum:
|
||||||
|
- sha1
|
@ -8,5 +8,5 @@ import (
|
|||||||
func main() {
|
func main() {
|
||||||
prog := make([]byte, 6)
|
prog := make([]byte, 6)
|
||||||
cpu := chip8.NewCHIP8(prog)
|
cpu := chip8.NewCHIP8(prog)
|
||||||
fmt.Printf("%d\n", cpu.GetGraphicsBuffer()[0])
|
fmt.Printf("This should print out zero: %d\n", cpu.GetGraphicsBuffer()[0])
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user