Just trying to trigger release #1
@ -6,4 +6,9 @@ steps:
|
||||
- name : test
|
||||
image: golang:latest
|
||||
commands:
|
||||
- go test -v ./pkg/...
|
||||
- go test -v ./chip8
|
||||
- name : build
|
||||
image: golang:latest
|
||||
commands:
|
||||
- go build ./cmd/test_prog
|
||||
|
||||
|
12
cmd/test_prog/main.go
Normal file
12
cmd/test_prog/main.go
Normal file
@ -0,0 +1,12 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"git.jacknet.io/S.D/Chip-8_Go/chip8"
|
||||
"fmt"
|
||||
)
|
||||
|
||||
func main() {
|
||||
prog := make([]byte, 6)
|
||||
cpu := chip8.NewCHIP8(prog)
|
||||
fmt.Printf("%d\n", cpu.GetGraphicsBuffer()[0])
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user