1
0
mirror of https://github.com/pdewacht/brlaser synced 2025-04-23 11:16:44 +02:00

Compare commits

...

10 Commits

Author SHA1 Message Date
Peter De Wachter
2a49e3287c
Merge pull request #133 from yaxollum/fix-mfc-7460dn
Fix MFC-7460DN PPD file name
2023-02-20 21:54:37 +01:00
Peter De Wachter
73b996a049 Github Actions: checkout@v3 2023-02-20 21:26:51 +01:00
Peter De Wachter
e52db5ba46 Github actions: Remove obsolete compilers 2023-02-20 21:24:13 +01:00
Peter De Wachter
48976ab82c
Merge pull request #125 from evanmiller/github-actions
Add support for GitHub Actions
2023-02-20 21:18:44 +01:00
Peter De Wachter
30bd80cb8b Fix build with GCC 13 2023-02-20 21:06:02 +01:00
Peter Ye
ea7e8cd274
Fix MFC-7460DN PPD file name 2021-09-08 14:50:49 -04:00
Evan Miller
df7c37eacf Add libcups2-dev to Linux build environment 2021-05-31 16:28:34 -04:00
Evan Miller
b58a014a51 Fix GitHub Actions script 2021-05-31 16:25:48 -04:00
Evan Miller
bf02b1d7b7 Fix syntax 2021-05-31 16:23:12 -04:00
Evan Miller
9546acc17c Add GitHub Actions for continuous integration 2021-05-31 16:21:33 -04:00
3 changed files with 41 additions and 1 deletions

39
.github/workflows/build.yml vendored Normal file
View File

@ -0,0 +1,39 @@
name: build
on: [ push, pull_request ]
jobs:
linux:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
compiler: [ clang++, gcc++ ]
steps:
- name: Add repository
run: sudo apt-add-repository -y "ppa:ubuntu-toolchain-r/test"
- name: Install packages
run: sudo apt install libcups2-dev
- uses: actions/checkout@v3
- name: Configure
run: cmake .
- name: Make
run: make
env:
CXX: ${{ matrix.compiler }}
- name: Run tests
run: make check
macos:
runs-on: macos-latest
strategy:
fail-fast: false
matrix:
compiler: [ clang++, gcc++ ]
steps:
- uses: actions/checkout@v3
- name: Configure
run: cmake .
- name: Make
run: make
env:
CXX: ${{ matrix.compiler }}
- name: Run tests
run: make check

View File

@ -332,7 +332,7 @@ Option "brlaserEconomode/Toner save mode" Boolean AnySetup 10
Attribute "NickName" "" "Brother MFC-7460DN, $USING"
Attribute "1284DeviceID" "" "MFG:Brother;CMD:PJL,HBP;MDL:MFC-7460DN;CLS:PRINTER;CID:Brother Laser Type1;"
Duplex rotated
PCFileName "br7365dn.ppd"
PCFileName "br7460dn.ppd"
}
{

View File

@ -18,6 +18,7 @@
#ifndef TEMPFILE_H
#define TEMPFILE_H
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <vector>